Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Command-line interface</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Command-line_interface"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Command-line_interface rootpage-Command-line_interface skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Command-line interface</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p class="mw-empty-elt">
</p>


<p>A <b>command-line interface</b> (<b>CLI</b>), sometimes called a <b>command-line shell</b>,<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> is a means of interacting with <a href="Software" title="Software">software</a> via <a href="Command_(computing)" title="Command (computing)">commands</a> – each formatted as a line of text. Command-line interfaces emerged in the mid-1960s, on <a href="Computer_terminal" title="Computer terminal">computer terminals</a>, as an interactive and more user-friendly alternative to the non-interactive mode available with <a href="Punched_cards" class="mw-redirect" title="Punched cards">punched cards</a>.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p><p>For nearly three decades, a CLI was the most common interface for software, but today a <a href="Graphical_user_interface" title="Graphical user interface">graphical user interface</a> (GUI) is more common. Nonetheless, many programs such as <a href="Operating_system" title="Operating system">operating system</a> and <a href="Software_development" title="Software development">software development</a> <a href="Utility_software" title="Utility software">utilities</a> still provide CLI.
</p><p>A CLI enables <a href="Automation" title="Automation">automating</a> <a href="Computer_program" title="Computer program">programs</a> since commands can be stored in a <a href="Scripting_language" title="Scripting language">script</a> <a href="Computer_file" title="Computer file">file</a> that can be used repeatedly. A script allows its contained commands to be executed as group; as a program; as a command.
</p><p>A CLI is made possible by <b>command-line interpreters</b> or <b>command-line processors</b>, which are programs that execute input commands.
</p><p>Alternatives to a CLI include a GUI (including the <a href="Desktop_metaphor" title="Desktop metaphor">desktop metaphor</a> such as <a href="Windows" class="mw-redirect" title="Windows">Windows</a>), <a href="Text-based_user_interface" title="Text-based user interface">text-based</a> <a href="Menu_(computing)" title="Menu (computing)">menuing</a> (including <a href="DOS_Shell" title="DOS Shell">DOS Shell</a> and <a href="IBM_AIX_SMIT" class="mw-redirect" title="IBM AIX SMIT">IBM AIX SMIT</a>), and <a href="Keyboard_shortcut" title="Keyboard shortcut">keyboard shortcuts</a>.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Comparison_to_graphical_user_interfaces">Comparison to graphical user interfaces</h2></div>

<p>Compared with a graphical user interface, a command-line interface requires fewer system resources to implement. Since options to commands are given in a few characters in each command line, an experienced user often finds the options easier to access. Automation of repetitive tasks is simplified by line editing and history mechanisms for storing frequently used sequences; this may extend to a <a href="Scripting_language" title="Scripting language">scripting language</a> that can take parameters and variable options. A command-line history can be kept, allowing review or repetition of commands.
</p><p>A command-line system may require paper or online manuals for the user's reference, although often a <i>help</i> option provides a concise review of the options of a command. The command-line environment may not provide graphical enhancements such as different <a href="Computer_font" title="Computer font">fonts</a> or extended <a href="Window_(computing)" title="Window (computing)">edit windows</a> found in a GUI. It may be difficult for a new user to become familiar with all the commands and options available, compared with the <a href="Icon_(computing)" title="Icon (computing)">icons</a> and <a href="Drop-down_menu" class="mw-redirect" title="Drop-down menu">drop-down menus</a> of a graphical user interface, without reference to manuals.
</p>
<div class="mw-heading mw-heading2"><h2 id="Types">Types</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Operating_system_command-line_interfaces">Operating system command-line interfaces</h3></div>
<p>Operating system (OS) command-line interfaces are usually distinct programs supplied with the operating system. A program that implements such a text interface is often called a command-line interpreter, command processor or <a href="Shell_(computing)" title="Shell (computing)">shell</a>.
</p><p>Examples of command-line interpreters include Nushell, <a href="Digital_Equipment_Corporation" title="Digital Equipment Corporation">DEC's</a> <a href="DIGITAL_Command_Language" title="DIGITAL Command Language">DIGITAL Command Language</a> (DCL) in <a href="OpenVMS" title="OpenVMS">OpenVMS</a> and <a href="RSX-11" title="RSX-11">RSX-11</a>, the various <a href="Unix_shell" title="Unix shell">Unix shells</a> (<a href="Bourne_shell" title="Bourne shell">sh</a>, <a href="KornShell" title="KornShell">ksh</a>, <a href="C_shell" title="C shell">csh</a>, <a href="Tcsh" title="Tcsh">tcsh</a>, <a href="Zsh" class="mw-redirect" title="Zsh">zsh</a>, <a href="Bash_(Unix_shell)" title="Bash (Unix shell)">Bash</a>, etc.), <a href="CP/M" title="CP/M">CP/M</a>'s <a href="Console_Command_Processor" class="mw-redirect" title="Console Command Processor">CCP</a>, <a href="DOS" title="DOS">DOS</a>' <a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a>, as well as the <a href="OS/2" title="OS/2">OS/2</a> and the Windows <a href="CMD.EXE" class="mw-redirect" title="CMD.EXE">CMD.EXE</a> programs, the latter groups being based heavily on DEC's RSX-11 and <a href="RSTS/E" title="RSTS/E">RSTS</a> CLIs. Under most operating systems, it is possible to replace the default shell program with alternatives; examples include <a href="4DOS" title="4DOS">4DOS</a> for DOS, <a href="4OS2" title="4OS2">4OS2</a> for OS/2, and <a href="Take_Command_Console" title="Take Command Console">4NT / Take Command</a> for Windows.
</p><p>Although the term <i>shell</i> is often used to describe a command-line interpreter, strictly speaking, a <a href="Shell_(computing)" title="Shell (computing)">shell</a> is a command interpreter and processor and by extension a program that provides an interface (either a user interface (command-line interface, GUI, etc...) or a programming interface) to a command interpreter and processor and to the broad capabilities of the operating system. For example, the default Windows GUI is a shell GUI named <a href="EXPLORER.EXE" class="mw-redirect" title="EXPLORER.EXE">EXPLORER.EXE</a>, as defined in the SHELL=EXPLORER.EXE line in the WIN.INI configuration file. This program strictly speaking is a shell GUI and by extension a shell (strictly speaking the Windows shell is shell32.dll not explorer.exe which is a shell GUI for shell32.dll), but it is not a CLI (command-line interpreter) nor a shell CLI (shell command-line interface).
</p>
<div class="mw-heading mw-heading3"><h3 id="Application_command-line_interfaces">Application command-line interfaces</h3></div>

<p>Application programs (as opposed to operating systems) may also have command-line interfaces.
</p><p>An application program may support none, any, or all of these three major types of command-line interface mechanisms:
</p>
<ul><li><i>Parameters</i>: Most command-line interfaces support a means to pass additional information to a program when it is launched.</li>
<li><i>Interactive command-line sessions</i>: After launch, a program may provide an operator with an independent means to enter commands.</li>
<li><i>Inter-process communication</i>: Most operating systems support means of <a href="Inter-process_communication" title="Inter-process communication">inter-process communication</a> (for example, <a href="Standard_streams" title="Standard streams">standard streams</a> or <a href="Named_pipe" title="Named pipe">named pipes</a>). Command lines from client processes may be redirected to a CLI program by one of these methods.</li></ul>
<p>Some applications support a CLI, presenting their own prompt to the user and accepting command lines. Other programs support both a CLI and a GUI. In some cases, a GUI is simply a <a href="Wrapper_function" title="Wrapper function">wrapper</a> around a separate CLI <a href="Executable_file" class="mw-redirect" title="Executable file">executable file</a>. In other cases, a program may provide a CLI as an optional alternative to its GUI. CLIs and GUIs often support different functionality. For example, all features of <a href="MATLAB" title="MATLAB">MATLAB</a>, a <a href="Numerical_analysis" title="Numerical analysis">numerical analysis</a> computer program, are available via the CLI, whereas the MATLAB GUI exposes only a subset of features.
</p><p>In <a href="Colossal_Cave_Adventure" title="Colossal Cave Adventure">Colossal Cave Adventure</a> from 1975, the user uses a CLI to enter one or two words to explore a cave system.
</p>
<div class="mw-heading mw-heading2"><h2 id="History">History</h2></div>
<p>The command-line interface evolved from a form of communication conducted by people over <a href="Teleprinter" title="Teleprinter">teleprinter</a> (TTY) machines. Sometimes these involved sending an order or a confirmation using <a href="Telex" title="Telex">telex</a>. Early computer systems often used teleprinter as the means of interaction with an operator.
</p><p>The mechanical teleprinter was replaced by a <a href="Dumb_terminal" class="mw-redirect" title="Dumb terminal">"glass tty"</a>, a keyboard and screen emulating the teleprinter. <a href="Computer_terminal#.22Intelligent.22_terminals" title="Computer terminal">"Smart" terminals</a> permitted additional functions, such as cursor movement over the entire screen, or local editing of data on the terminal for transmission to the computer. As the <a href="Microcomputer_revolution" class="mw-redirect" title="Microcomputer revolution">microcomputer revolution</a> replaced the traditional&nbsp;– minicomputer + terminals&nbsp;– <a href="Time_sharing" class="mw-redirect" title="Time sharing">time sharing</a> architecture, hardware terminals were replaced by <a href="Terminal_emulator" title="Terminal emulator">terminal emulators</a>&nbsp;— PC software that interpreted terminal signals sent through the PC's <a href="Serial_port" title="Serial port">serial ports</a>. These were typically used to interface an organization's new PC's with their existing mini- or mainframe computers, or to connect PC to PC. Some of these PCs were running <a href="Bulletin_Board_System" class="mw-redirect" title="Bulletin Board System">Bulletin Board System</a> software.
</p><p>Early operating system CLIs were implemented as part of <a href="Resident_monitor" title="Resident monitor">resident monitor</a> programs, and could not easily be replaced. The first implementation of the shell as a replaceable component was part of the <a href="Multics" title="Multics">Multics</a> <a href="Time-sharing" title="Time-sharing">time-sharing</a> <a href="Operating_system" title="Operating system">operating system</a>.<sup id="cite_ref-Unix_Shells_4-0" class="reference"><a href="#cite_note-Unix_Shells-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> In 1964, <a href="MIT_Computation_Center" title="MIT Computation Center">MIT Computation Center</a> staff member <a href="Louis_Pouzin" title="Louis Pouzin">Louis Pouzin</a> developed the <a href="RUNCOM" title="RUNCOM">RUNCOM</a> tool for executing command scripts while allowing argument substitution.<sup id="cite_ref-multicians_5-0" class="reference"><a href="#cite_note-multicians-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> Pouzin coined the term <i><a href="Shell_(computing)" title="Shell (computing)">shell</a></i> to describe the technique of using commands like a programming language, and wrote a paper about how to implement the idea in the <a href="Multics" title="Multics">Multics</a> operating system.<sup id="cite_ref-Metz_2013_6-0" class="reference"><a href="#cite_note-Metz_2013-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> Pouzin returned to his native France in 1965, and the first Multics shell was developed by <a href="Glenda_Schroeder" title="Glenda Schroeder">Glenda Schroeder</a>.<sup id="cite_ref-multicians_5-1" class="reference"><a href="#cite_note-multicians-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>
</p>

<p>The first <a href="Unix_shell" title="Unix shell">Unix shell</a>, the <a href="Thompson_shell" title="Thompson shell">V6 shell</a>, was developed by <a href="Ken_Thompson" title="Ken Thompson">Ken Thompson</a> in 1971 at <a href="Bell_Labs" title="Bell Labs">Bell Labs</a> and was modeled after Schroeder's Multics shell.<sup id="cite_ref-Mazieres_2004_7-0" class="reference"><a href="#cite_note-Mazieres_2004-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-ibm_8-0" class="reference"><a href="#cite_note-ibm-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> The <a href="Bourne_shell" title="Bourne shell">Bourne shell</a> was introduced in 1977 as a replacement for the V6 shell. Although it is used as an interactive command interpreter, it was also intended as a scripting language and contains most of the features that are commonly considered to produce structured programs. The Bourne shell led to the development of the <a href="KornShell" title="KornShell">KornShell</a> (ksh), <a href="Almquist_shell" title="Almquist shell">Almquist shell</a> (ash), and the popular <a href="Bourne-again_shell" class="mw-redirect" title="Bourne-again shell">Bourne-again shell</a> (or Bash).<sup id="cite_ref-ibm_8-1" class="reference"><a href="#cite_note-ibm-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup>
</p><p>Early microcomputers themselves were based on a command-line interface such as <a href="CP/M" title="CP/M">CP/M</a>, <a href="DOS" title="DOS">DOS</a> or <a href="AppleSoft_BASIC" class="mw-redirect" title="AppleSoft BASIC">AppleSoft BASIC</a>. During the 1980s and 1990s, the introduction of the <a href="Apple_Macintosh" class="mw-redirect" title="Apple Macintosh">Apple Macintosh</a> and of <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a> on PCs saw the command line interface as the primary user interface replaced by the <a href="Graphical_User_Interface" class="mw-redirect" title="Graphical User Interface">Graphical User Interface</a>.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> The command line remained available as an alternative user interface, often used by <a href="System_administrator" title="System administrator">system administrators</a> and other advanced users for system administration, <a href="Computer_programming" title="Computer programming">computer programming</a> and <a href="Batch_processing" title="Batch processing">batch processing</a>.
</p><p>In November 2006, <a href="Microsoft" title="Microsoft">Microsoft</a> released version 1.0 of <a href="Windows_PowerShell" class="mw-redirect" title="Windows PowerShell">Windows PowerShell</a> (formerly codenamed <i>Monad</i>), which combined features of traditional Unix shells with their proprietary object-oriented <a href=".NET_Framework" title=".NET Framework">.NET Framework</a>. <a href="MinGW" title="MinGW">MinGW</a> and <a href="Cygwin" title="Cygwin">Cygwin</a> are <a href="Open-source_software" title="Open-source software">open-source</a> packages for Windows that offer a Unix-like CLI. Microsoft provides <a href="MKS_Inc." title="MKS Inc.">MKS Inc.</a>'s <a href="KornShell" title="KornShell">ksh</a> implementation <i>MKS Korn shell</i> for Windows through their <a href="Services_for_UNIX" class="mw-redirect" title="Services for UNIX">Services for UNIX</a> add-on.
</p><p>Since 2001, the <a href="Macintosh" class="mw-redirect" title="Macintosh">Macintosh</a> operating system <a href="MacOS" title="MacOS">macOS</a> has been based on a <a href="Unix-like" title="Unix-like">Unix-like</a> operating system called <a href="Darwin_(operating_system)" title="Darwin (operating system)">Darwin</a>.<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> On these computers, users can access a Unix-like command-line interface by running the <a href="Terminal_emulator" title="Terminal emulator">terminal emulator</a> program called <a href="Terminal_(macOS)" title="Terminal (macOS)">Terminal</a>, which is found in the Utilities sub-folder of the Applications folder, or by remotely logging into the machine using <a href="Ssh" class="mw-redirect" title="Ssh">ssh</a>. <a href="Z_shell" title="Z shell">Z shell</a> is the default shell for macOS; Bash, <a href="Tcsh" title="Tcsh">tcsh</a>, and the <a href="KornShell" title="KornShell">KornShell</a> are also provided. Before <a href="MacOS_Catalina" title="MacOS Catalina">macOS Catalina</a>, Bash was the default.
</p>
<div class="mw-heading mw-heading2"><h2 id="Usage">Usage</h2></div>
<p>A CLI is used whenever a large vocabulary of commands or queries, coupled with a wide (or arbitrary) range of options, can be entered more rapidly as text than with a pure GUI. This is typically the case with <a href="Operating_system_shell" class="mw-redirect" title="Operating system shell">operating system command shells</a>. CLIs are also used by systems with insufficient resources to support a graphical user interface. Some computer language systems (such as <a href="Python_(programming_language)" title="Python (programming language)">Python</a>,<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> <a href="Forth_(programming_language)" title="Forth (programming language)">Forth</a>, <a href="LISP" class="mw-redirect" title="LISP">LISP</a>, <a href="Rexx" title="Rexx">Rexx</a>, and many dialects of <a href="BASIC" title="BASIC">BASIC</a>) provide an interactive command-line mode to allow for rapid evaluation of code.
</p><p>CLIs are often used by programmers and system administrators, in engineering and scientific environments, and by technically advanced personal computer users.<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup> CLIs are also popular among people with visual disabilities since the commands and responses can be displayed using <a href="Refreshable_Braille_display" class="mw-redirect" title="Refreshable Braille display">refreshable Braille displays</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Anatomy_of_a_shell_CLI">Anatomy of a shell CLI</h2></div>
<p>The general pattern of a command line is:<sup id="cite_ref-Bash_13-0" class="reference"><a href="#cite_note-Bash-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Microsoft_Windows_14-0" class="reference"><a href="#cite_note-Microsoft_Windows-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup>
</p>
<pre>prompt command param1 param2 param3 … paramN
</pre>
<ul><li><a href="#Command_prompt">prompt</a> — output by the program to indicate that its ready for input; a prompt may include contextual information and often ends with a symbol that provides a visual cue that input is expected</li>
<li>command — input by the user, a command is usually one of two classes:
<ol><li><i>Internal</i> commands are recognized and processed by the command line interpreter. Internal commands are also called built-in commands.<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup></li>
<li><i>External</i> commands run executables found in separate executable files. The command line interpreter searches for executable files with names matching the external command.<sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup></li></ol></li>
<li>param1 …paramN&nbsp;— parameters provided by the user. The format and meaning of the parameters depends upon the command. In the case of external commands, the values of the parameters are delivered to the program as it is launched by the OS. Parameters may be either <a href="#Arguments">arguments</a> or <a href="#Command-line_option">options</a>.</li></ul>
<p>In this format, the delimiters between command-line elements are <a href="Whitespace_character" title="Whitespace character">whitespace characters</a> and the end-of-line delimiter is the <a href="Newline" title="Newline">newline</a> delimiter. This is a widely used (but not universal) convention.
</p><p>A CLI can generally be considered as consisting of <a href="Syntax_(programming_languages)" title="Syntax (programming languages)">syntax</a> and <a href="Semantics" title="Semantics">semantics</a>. The <i>syntax</i> is the grammar that all commands must follow. In the case of <a href="Operating_system" title="Operating system">operating systems</a>, <a href="DOS" title="DOS">DOS</a> and <a href="Unix" title="Unix">Unix</a> each define their own set of rules that all commands must follow. In the case of <a href="Embedded_systems" class="mw-redirect" title="Embedded systems">embedded systems</a>, each vendor, such as <a href="Nortel" title="Nortel">Nortel</a>, <a href="Juniper_Networks" title="Juniper Networks">Juniper Networks</a> or <a href="Cisco_Systems" class="mw-redirect" title="Cisco Systems">Cisco Systems</a>, defines their own proprietary set of rules. These rules also dictate how a user navigates through the system of commands. The <i>semantics</i> define what sort of operations are possible, on what sort of data these operations can be performed, and how the grammar represents these operations and data—the symbolic meaning in the syntax.
</p><p>Two different CLIs may agree on either syntax or semantics, but it is only when they agree on both that they can be considered sufficiently similar to allow users to use both CLIs without needing to learn anything, as well as to enable re-use of scripts.
</p><p>A simple CLI will display a prompt, accept a <i>command line</i> typed by the user terminated by the <a href="Enter_key" title="Enter key">Enter key</a>, then execute the specified command and provide textual display of results or error messages. Advanced CLIs will validate, interpret and parameter-expand the command line before executing the specified command, and optionally capture or redirect its output.
</p><p>Unlike a button or menu item in a GUI, a command line is typically self-documenting,<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup> stating exactly what the user wants done. In addition, command lines usually include many <a href="Default_(computer_science)" title="Default (computer science)">defaults</a> that can be changed to customize the results. Useful command lines can be saved by assigning a <a href="Character_string" class="mw-redirect" title="Character string">character string</a> or <a href="Alias_(command)" title="Alias (command)">alias</a> to represent the full command, or several commands can be grouped to perform a more complex sequence&nbsp;– for instance, compile the program, install it, and run it&nbsp;— creating a single entity, called a command procedure or script which itself can be treated as a command. These advantages mean that a user must figure out a complex command or series of commands only once, because they can be saved, to be used again.
</p><p>The commands given to a CLI shell are often in one of the following forms:
</p>
<ul><li><code>doSomething how toFiles</code></li>
<li><code>doSomething how sourceFile destinationFile</code></li>
<li><code>doSomething how &lt; inputFile &gt; outputFile</code></li>
<li><code>doSomething how | doSomething how | doSomething how &gt; outputFile</code></li></ul>
<p>where <i>doSomething</i> is, in effect, a <a href="Verb" title="Verb">verb</a>, <i>how</i> an <a href="Adverb" title="Adverb">adverb</a> (for example, should the command be executed <i>verbosely</i> or <i>quietly</i>) and <i>toFiles</i> an object or objects (typically one or more files) on which the command should act. The <code>&gt;</code> in the third example is a redirection operator, telling the command-line interpreter to send the output of the command not to its own standard output (the screen) but to the named file. This will overwrite the file. Using <code>&gt;&gt;</code> will redirect the output and append it to the file. Another redirection operator is the <a href="Vertical_bar" title="Vertical bar">vertical bar</a> (<code>|</code>), which creates a <a href="Pipeline_(Unix)" title="Pipeline (Unix)">pipeline</a> where the output of one command becomes the input to the next command.<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading3"><h3 id="CLI_and_resource_protection">CLI and resource protection</h3></div>
<p>On some systems, such as <a href="Unix-like" title="Unix-like">Unix-like</a> systems or Windows, one can modify the set of available commands by modifying which paths appear in the <a href="PATH_(variable)" title="PATH (variable)">PATH</a> environment variable or its equivalent. On Unix-like systems, commands also need be marked as <a href="Executable" title="Executable">executable</a> files. The directories in the path variable are searched in the order they are given. By re-ordering the path, one can run e.g. \OS2\MDOS\E.EXE instead of \OS2\E.EXE, when the default is the opposite. Renaming of the executables also works: people often rename their favourite editor to EDIT, for example.
</p><p>The command line allows one to restrict available commands, such as access to advanced internal commands. The <a href="Bourne_shell" title="Bourne shell">Bourne shell</a> and workalikes such as <a href="Bash_(Unix_shell)" title="Bash (Unix shell)">Bash</a> can be run as a <a href="Restricted_shell" title="Restricted shell">restricted shell</a>; among other things, this prohibits the user from modifying the PATH environment variable, so that if PATH is set to include only directories that contain only permissible commands, the user will only be able to run those commands. The Windows <a href="CMD.EXE" class="mw-redirect" title="CMD.EXE">CMD.EXE</a> also supports restricting available commands. Often, shareware programs will limit the range of commands, including printing a command 'your administrator has disabled running batch files' from the prompt.
</p><p>Some CLIs, such as those in <a href="Network_router" class="mw-redirect" title="Network router">network routers</a>, have a hierarchy of <a href="Mode_(user_interface)" title="Mode (user interface)">modes</a>, with a different set of commands supported in each mode. The set of commands are grouped by association with security, system, interface, etc. In these systems the user might traverse through a series of sub-modes. For example, if the CLI had two modes called <i>interface</i> and <i>system</i>, the user might use the command <i>interface</i> to enter the interface mode. At this point, commands from the system mode may not be accessible until the user exits the interface mode and enters the system mode.
</p>
<div class="mw-heading mw-heading3"><h3 id="Command_prompt">Command prompt</h3></div>

<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">"Command prompt" redirects here. For the Windows component named Command Prompt, see <a href="Cmd.exe" title="Cmd.exe">cmd.exe</a>.</div>
<p>A command prompt (or just <i>prompt</i>) is a sequence of (one or more) characters used in a command-line interface to indicate readiness to accept commands. It literally <a href="https://en.wiktionary.org/wiki/prompt" class="extiw external" title="wiktionary:prompt">prompts</a> the user to take action. A prompt usually ends with one of the characters <code>$</code>, <code>%</code>, <code>#</code>,<sup id="cite_ref-DR_1978_SID_20-0" class="reference"><a href="#cite_note-DR_1978_SID-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-DR_1982_SID86_21-0" class="reference"><a href="#cite_note-DR_1982_SID86-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> <code>:</code>, <code>&gt;</code> or <code>-</code><sup id="cite_ref-Paul_1997_NWDOSTIP_22-0" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> and often includes other information, such as the path of the current <a href="Working_directory" title="Working directory">working directory</a> and the <a href="Hostname" title="Hostname">hostname</a>.
</p><p>On many <a href="Unix" title="Unix">Unix</a> and <a href="Unix-like" title="Unix-like">derivative systems</a>, the prompt commonly ends in <code>$</code> or <code>%</code> if the user is a normal user, but in <code>#</code> if the user is a <a href="Superuser" title="Superuser">superuser</a> ("root" in Unix terminology).
</p><p>End-users can often modify prompts. Depending on the environment, they may include colors, special characters, and other elements (like variables and functions for the current time, user, shell number or working directory) in order, for instance, to make the prompt more informative or visually pleasing, to distinguish sessions on various machines, or to indicate the current level of nesting of commands. On some systems, special tokens in the definition of the prompt can be used to cause external programs to be called by the command-line interpreter while displaying the prompt.
</p><p>In DOS' COMMAND.COM and in Windows NT's <a href="Cmd.exe" title="Cmd.exe">cmd.exe</a> users can modify the prompt by issuing a <code>PROMPT</code> command or by directly changing the value of the corresponding <code><a href="%25PROMPT%25" class="mw-redirect" title="%PROMPT%">%PROMPT%</a></code> <a href="Environment_variable" title="Environment variable">environment variable</a>. The default of most modern systems, the <code>C:\&gt;</code> style is obtained, for instance, with <code>PROMPT $P$G</code>. The default of older DOS systems, <code>C&gt;</code> is obtained by just <code>PROMPT</code>, although on some systems this produces the newer <code>C:\&gt;</code> style, unless used on floppy drives A: or B:; on those systems <code>PROMPT $N$G</code> can be used to override the automatic default and explicitly switch to the older style.
</p><p>Many Unix systems feature the <code>$PS1</code> variable (Prompt String 1),<sup id="cite_ref-Parker_2011_23-0" class="reference"><a href="#cite_note-Parker_2011-23"><span class="cite-bracket">[</span>23<span class="cite-bracket">]</span></a></sup> although other variables also may affect the prompt (depending on the <a href="Unix_shell" title="Unix shell">shell</a> used). In the Bash shell, a prompt of the form:
</p>
<div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span class="o">[</span>time<span class="o">]</span><span class="w"> </span>user@host:<span class="w"> </span>work_dir<span class="w"> </span>$
</pre></div>
<p>could be set by issuing the command
</p>
<div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span class="nb">export</span><span class="w"> </span><span class="nv">PS1</span><span class="o">=</span><span class="s1">'[\t] \u@\H: \W $'</span>
</pre></div>
<p>In <a href="Zsh" class="mw-redirect" title="Zsh">zsh</a> the <code>$RPROMPT</code> variable controls an optional <i>prompt</i> on the right-hand side of the display. It is not a real prompt in that the location of text entry does not change. It is used to display information on the same line as the prompt, but right-justified.
</p><p>In <a href="RISC_OS" title="RISC OS">RISC OS</a> the command prompt is a <code>*</code> symbol, and thus (OS) CLI commands are often referred to as <i>star commands</i>.<sup id="cite_ref-Acorn_1992_24-0" class="reference"><a href="#cite_note-Acorn_1992-24"><span class="cite-bracket">[</span>24<span class="cite-bracket">]</span></a></sup> One can also access the same commands from other command lines (such as the <a href="BBC_BASIC" title="BBC BASIC">BBC BASIC</a> command line), by preceding the command with a <code>*</code>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Arguments">Arguments</h3></div>
<style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */


.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style>

<p>A <b>command-line argument</b> or <b><a href="Parameter#Computing" title="Parameter">parameter</a></b> is an item of information provided to a program when it is started.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">[</span>25<span class="cite-bracket">]</span></a></sup> A program can have many command-line arguments that identify sources or destinations of information, or that alter the operation of the program.
</p><p>When a command processor is active a program is typically invoked by typing its name followed by command-line arguments (if any). For example, in <a href="Unix" title="Unix">Unix</a> and <a href="Unix-like" title="Unix-like">Unix-like</a> environments, an example of a command-line argument is:
</p>
<div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre>rm<span class="w"> </span>file.s
</pre></div>
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">file.s</code> is a command-line argument which tells the program <a href="Rm_(Unix)" title="Rm (Unix)">rm</a> to remove the file named <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">file.s</code>.
</p><p>Some programming languages, such as <a href="C_(programming_language)" title="C (programming language)">C</a>, <a href="C%2B%2B" title="C++">C++</a> and <a href="Java_(programming_language)" title="Java (programming language)">Java</a>, allow a program to interpret the command-line arguments by handling them as string parameters in the <a href="Main_function" class="mw-redirect" title="Main function">main function</a>.<sup id="cite_ref-26" class="reference"><a href="#cite_note-26"><span class="cite-bracket">[</span>26<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-27" class="reference"><a href="#cite_note-27"><span class="cite-bracket">[</span>27<span class="cite-bracket">]</span></a></sup> Other languages, such as <a href="Python_(programming_language)" title="Python (programming language)">Python</a>, expose operating system specific <a href="API" title="API">API</a> (functionality) through <code>sys</code> <a href="Modular_programming" title="Modular programming">module</a>, and in particular <code>sys.argv</code> for <i>command-line arguments</i>.
</p><p>In <a href="Unix-like_operating_system" class="mw-redirect" title="Unix-like operating system">Unix-like operating systems</a>, a single hyphen used in place of a file name is a special value specifying that a program should handle data coming from the <a href="Standard_input" class="mw-redirect" title="Standard input">standard input</a> or send data to the <a href="Standard_output" class="mw-redirect" title="Standard output">standard output</a>.
</p>
<div class="mw-heading mw-heading4"><h4 id="Command-line_option">Command-line option</h4></div>
<p>A <b>command-line option</b> or simply <b>option</b> (also known as a <b>flag</b> or <b>switch</b>) modifies the operation of a command; the effect is determined by the command's program. Options follow the command name on the command line, separated by spaces. A space before the first option is not always required, such as <code>Dir/?</code> and <code style="white-space:nowrap">DIR /?</code> in DOS, which have the same effect<sup id="cite_ref-Paul_1997_NWDOSTIP_22-1" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> of listing the DIR command's available options, whereas <code>dir --help</code> (in many versions of Unix) <i>does</i> require the option to be preceded by at least one space (and is case-sensitive).
</p><p>The format of options varies widely between operating systems. In most cases, the syntax is by convention rather than an operating system requirement; the entire command line is simply a string passed to a program, which can process it in any way the programmer wants, so long as the interpreter can tell where the command name ends and its arguments and options begin.
</p><p>A few representative samples of command-line options, all relating to listing files in a directory, to illustrate some conventions:
</p>
<table class="wikitable">

<tbody><tr>
<th>Operating system</th>
<th>Command</th>
<th>Valid alternative</th>
<th>Notes
</th></tr>
<tr>
<td><a href="OpenVMS" title="OpenVMS">OpenVMS</a></td>
<td><code>directory/owner</code></td>
<td><code>Dir /Owner</code></td>
<td>instruct the <i>directory</i> command to also display the ownership of the files.<br><small><i>Note the Directory command name is not case sensitive, and can be abbreviated to as few letters as required to remain unique.</i></small>
</td></tr>
<tr>
<td>Windows</td>
<td><code>DIR/Q/O:S d*</code></td>
<td><code>dir /q d* /o:s</code></td>
<td>display ownership of files whose names begin with d (or D), sorted by size, smallest first.<br><small><i>Note spaces around argument d* are required.</i></small>
</td></tr>
<tr>
<td><a href="Unix-like" title="Unix-like">Unix-like</a> systems</td>
<td><code>ls -lS D*</code></td>
<td><code>ls -S -l D*</code></td>
<td>display in long format files and directories whose names begin with D (but not d), sorted by size (largest first).<br><small><i>Note spaces are required around all arguments and options, but some can be run together, e.g. <b>-lS</b> is the same as <b>-l -S</b>.</i></small>
</td></tr>
<tr>
<td><a href="Data_General_RDOS" title="Data General RDOS">Data General RDOS</a> <a href="Data_General_RDOS#RDOS_CLI" title="Data General RDOS">CLI</a></td>
<td><span class="nowrap"><code>list/e/s 04-26-80/b</code></span></td>
<td><span class="nowrap"><code>List /S/E 4-26-80/B</code></span></td>
<td>list every attribute for files created before 26 April 1980.<br><small><i>Note the /B at the end of the date argument is a <b>local switch</b>, that modifies the meaning of that argument, while /S and /E are <b>global switches</b>, i.e. apply to the whole command.</i></small>
</td></tr>
<tr>
<td><a href="VM/CMS" class="mw-redirect" title="VM/CMS">VM/CMS</a> CLI</td>
<td><span class="nowrap"><code>LISTFILE (FULLDATE)</code></span></td>
<td><span class="nowrap"><code>l(ful</code></span></td>
<td>includes the date the file was last written in the list.<br><small><i>Note the LISTFILE command name is not case sensitive, and can be abbreviated to as few letters as required to remain unique.</i></small>
</td></tr></tbody></table>
<div class="mw-heading mw-heading5"><h5 id="Abbreviating_commands">Abbreviating commands</h5></div>
<div role="note" class="hatnote navigation-not-searchable">See also: <a href="Tab_completion" class="mw-redirect" title="Tab completion">Tab completion</a></div>
<p>In <a href="Multics" title="Multics">Multics</a>, command-line options and subsystem keywords may be abbreviated. This idea appears to derive from the <a href="PL/I_programming_language" class="mw-redirect" title="PL/I programming language">PL/I programming language</a>, with its shortened keywords (e.g., STRG for STRINGRANGE and DCL for DECLARE). For example, in the Multics <i>forum</i> subsystem, the <i>-long_subject</i> parameter can be abbreviated <i>-lgsj</i>. It is also common for Multics commands to be abbreviated, typically corresponding to the initial letters of the words that are strung together with underscores to form command names, such as the use of <i>did</i> for <i>delete_iacl_dir</i>.
</p><p>In some other systems abbreviations are automatic, such as permitting enough of the first characters of a command name to uniquely identify it (such as <code>SU</code> as an abbreviation for <code>SUPERUSER</code>) while others may have some specific abbreviations pre-programmed (e.g. <code>MD</code> for <code><a href="MKDIR" class="mw-redirect" title="MKDIR">MKDIR</a></code> in COMMAND.COM) or user-defined via batch scripts and <a href="Alias_(command)" title="Alias (command)">aliases</a> (e.g. <code>alias md mkdir</code> in <a href="Tcsh" title="Tcsh">tcsh</a>).
</p>
<div class="mw-heading mw-heading5"><h5 id="Option_conventions_in_DOS,_Windows,_OS/2">Option conventions in DOS, Windows, OS/2</h5></div>
<p>On DOS, OS/2 and Windows, different programs called from their COMMAND.COM or CMD.EXE (or internal their commands) may use different syntax within the same operating system. For example:
</p>
<ul><li>Options may be indicated by either of the <i>switch characters</i>: <code>/</code>, <code>-</code>, or either may be allowed. See below.</li>
<li>They may or may not be <a href="Case-sensitive" class="mw-redirect" title="Case-sensitive">case-sensitive</a>.</li>
<li>Sometimes options and their arguments are run together, sometimes separated by whitespace, and sometimes by a character, typically <code>:</code> or <code>=</code>; thus <code>Prog -fFilename</code>, <code>Prog -f Filename</code>, <code>Prog -f:Filename</code>, <code>Prog -f=Filename</code>.</li>
<li>Some programs allow single-character options to be combined;<sup id="cite_ref-Paul_1997_NWDOSTIP_22-2" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> others do not. The switch <code>-fA</code> may mean the same as <code>-f -A</code>,<sup id="cite_ref-Paul_1997_NWDOSTIP_22-3" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> or it may be incorrect, or it may even be a valid but different parameter.</li></ul>
<p>In <a href="DOS" title="DOS">DOS</a>, <a href="OS/2" title="OS/2">OS/2</a> and <a href="Windows" class="mw-redirect" title="Windows">Windows</a>, the forward slash (<code>/</code>) is most prevalent, although the hyphen-minus is also sometimes used. In many versions of DOS (MS-DOS/PC&nbsp;DOS 2.xx and higher, all versions of <a href="DR-DOS" title="DR-DOS">DR-DOS</a> since 5.0, as well as <a href="PTS-DOS" title="PTS-DOS">PTS-DOS</a>, <a href="Embedded_DOS" class="mw-redirect" title="Embedded DOS">Embedded DOS</a>, <a href="FreeDOS" title="FreeDOS">FreeDOS</a> and <a href="RxDOS" class="mw-redirect" title="RxDOS">RxDOS</a>) the <b>switch character</b> (sometimes abbreviated <b>switchar</b> or <b>switchchar</b>) to be used is defined by a value returned from a <a href="System_call" title="System call">system call</a> (<a href="INT_21h" class="mw-redirect" title="INT 21h">INT&nbsp;21h</a>/AX=3700h). The default character returned by this API is <code>/</code>, but can be changed to a hyphen-minus on the above-mentioned systems, except for under Datalight ROM-DOS and MS-DOS/PC&nbsp;DOS 5.0 and higher, which always return <code>/</code> from this call (unless one of many available <a href="Terminate-and-stay-resident_program" title="Terminate-and-stay-resident program">TSRs</a> to reenable the SwitChar feature is loaded). In some of these systems (MS-DOS/PC&nbsp;DOS 2.xx, DOS Plus 2.1, DR-DOS 7.02 and higher, PTS-DOS, Embedded DOS, FreeDOS and RxDOS), the setting can also be pre-configured by a <a href="SWITCHAR_(CONFIG.SYS_directive)" class="mw-redirect" title="SWITCHAR (CONFIG.SYS directive)">SWITCHAR</a> directive in <a href="CONFIG.SYS" title="CONFIG.SYS">CONFIG.SYS</a>. General Software's Embedded DOS provides a SWITCH command for the same purpose, whereas <a href="4DOS" title="4DOS">4DOS</a> allows the setting to be changed via <code>SETDOS /W:n</code>.<sup id="cite_ref-4DOS_8.00_HELP_28-0" class="reference"><a href="#cite_note-4DOS_8.00_HELP-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup> Under DR-DOS, if the setting has been changed from <code>/</code>, the first directory separator <code>\</code> in the display of the <a href="PROMPT_(DOS_command)" class="mw-redirect" title="PROMPT (DOS command)">PROMPT</a> parameter <code>$G</code> will change to a forward slash <code>/</code> (which is also a valid directory separator in DOS, FlexOS, 4680 OS, 4690 OS, OS/2 and Windows) thereby serving as a visual clue to indicate the change.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-4" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> Also, the current setting is reflected also in the built-in help screens.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-5" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> Some versions of DR-DOS <a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a> also support a PROMPT token <code>$/</code> to display the current setting. COMMAND.COM since DR-DOS 7.02 also provides a <a href="Pseudo-environment_variable" class="mw-redirect" title="Pseudo-environment variable">pseudo-environment variable</a> named <code><a href="%25/%25" class="mw-redirect" title="%/%">%/%</a></code> to allow portable batchjobs to be written.<sup id="cite_ref-Caldera_1998_DELTREE101_29-0" class="reference"><a href="#cite_note-Caldera_1998_DELTREE101-29"><span class="cite-bracket">[</span>29<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Caldera_1998_NEW703_30-0" class="reference"><a href="#cite_note-Caldera_1998_NEW703-30"><span class="cite-bracket">[</span>30<span class="cite-bracket">]</span></a></sup> Several external DR-DOS commands additionally support an <a href="Environment_variable" title="Environment variable">environment variable</a> <code><a href="%25SWITCHAR%25" class="mw-redirect" title="%SWITCHAR%">%SWITCHAR%</a></code> to override the system setting.
</p><p>However, many programs are hardwired to use <code>/</code> only, rather than retrieving the switch setting before parsing command-line arguments. A very small number, mainly ports from Unix-like systems, are programmed to accept <code>-</code> even if the switch character is not set to it (for example <code><a href="Netstat" title="Netstat">netstat</a></code> and <code><a href="Ping_(networking_utility)" title="Ping (networking utility)">ping</a></code>, supplied with <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a>, will accept the /? option to list available options, and yet the list will specify the <code>-</code> convention).
</p>
<div class="mw-heading mw-heading5"><h5 id="Option_conventions_in_Unix-like_systems">Option conventions in Unix-like systems</h5></div>

<p>In <a href="Unix-like" title="Unix-like">Unix-like</a> systems, the ASCII <a href="Hyphen-minus" title="Hyphen-minus">hyphen-minus</a> begins options; the new (and <a href="GNU" title="GNU">GNU</a>) convention is to use <i>two</i> hyphens then a word (e.g. <code>--create</code>) to identify the option's use while the old convention (and still available as an option for frequently used options) is to use one hyphen then one letter (e.g., <code>-c</code>); if one hyphen is followed by two or more letters it may mean two options are being specified, or it may mean the second and subsequent letters are a parameter (such as filename or date) for the first option.<sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">[</span>31<span class="cite-bracket">]</span></a></sup>
</p><p>Two hyphen-minus characters without following letters (<code>--</code>) may indicate that the remaining arguments should not be treated as options, which is useful for example if a file name itself begins with a hyphen, or if further arguments are meant for an inner command (e.g., <a href="Sudo" title="Sudo">sudo</a>). Double hyphen-minuses are also sometimes used to prefix <i>long options</i> where more descriptive option names are used. This is a common feature of <a href="GNU" title="GNU">GNU</a> software. The <i><a href="Getopt" title="Getopt">getopt</a></i> function and program, and the <i><a href="Getopts" title="Getopts">getopts</a></i> command are usually used for parsing command-line options.
</p><p>Unix command names, arguments and options are case-sensitive (except in a few examples, mainly where popular commands from other operating systems have been ported to Unix).
</p>
<div class="mw-heading mw-heading5"><h5 id="Option_conventions_in_other_systems">Option conventions in other systems</h5></div>
<p><a href="FlexOS" title="FlexOS">FlexOS</a>, <a href="4680_OS" class="mw-redirect" title="4680 OS">4680 OS</a> and <a href="4690_OS" class="mw-redirect" title="4690 OS">4690 OS</a> use <code>-</code>.
</p><p><a href="CP/M" title="CP/M">CP/M</a> typically used <code>[</code>.
</p><p><a href="Conversational_Monitor_System" title="Conversational Monitor System">Conversational Monitor System</a> (CMS) uses a single <a href="Bracket#Parentheses" title="Bracket">left parenthesis</a> to separate options at the end of the command from the other arguments. For example, in the following command the options indicate that the target file should be replaced if it exists, and the date and time of the source file should be retained on the copy:
<code>COPY source file a target file b (REPLACE OLDDATE)</code>
</p><p><a href="Data_General" title="Data General">Data General</a>'s CLI under their <a href="Data_General_RDOS" title="Data General RDOS">RDOS</a>, <a href="Data_General_AOS" title="Data General AOS">AOS</a>, etc. operating systems, as well as the version of CLI that came with their <a href="Business_Basic" title="Business Basic">Business Basic</a>, uses only <code>/</code> as the switch character, is case-insensitive, and allows <i>local switches</i> on some arguments to control the way they are interpreted, such as <span class="nowrap"><code>MAC/U LIB/S A B C $LPT/L</code></span> has the global option <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">U</code> to the macro assembler command to append user symbols, but two local switches, one to specify LIB should be skipped on pass 2 and the other to direct listing to the printer, $LPT.
</p>
<div class="mw-heading mw-heading3"><h3 id="Built-in_usage_help">Built-in usage help</h3></div>
<div role="note" class="hatnote navigation-not-searchable">See also: <a href="Help_(command)" title="Help (command)">help (command)</a></div>
<p>One of the criticisms of a CLI is the lack of cues to the user as to the available actions. In contrast, GUIs usually inform the user of available actions with menus, icons, or other visual cues. To overcome this limitation, many CLI programs display a <a href="Usage_message" title="Usage message">usage message</a>, typically when invoked with no arguments or one of <code>?</code>, <code>-?</code>, <code>-h</code>, <code>-H</code>, <code>/?</code>, <code>/h</code>, <code>/H</code>, <code>/Help</code>, <code>-help</code>, or <code>--help</code>.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-6" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_2002_CPI_32-0" class="reference"><a href="#cite_note-Paul_2002_CPI-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_2002_DEBUG_33-0" class="reference"><a href="#cite_note-Paul_2002_DEBUG-33"><span class="cite-bracket">[</span>33<span class="cite-bracket">]</span></a></sup>
</p><p>However, entering a program name without parameters in the hope that it will display usage help can be hazardous, as programs and scripts for which command line arguments are optional will execute without further notice.
</p><p>Although desirable at least for the help parameter, programs may not support all option lead-in characters exemplified above.
Under DOS, where the default <a href="#Option_conventions_in_DOS.2C_Windows.2C_OS.2F2">command-line option character</a> can be changed from <code>/</code> to <code>-</code>, programs may query the <a href="SwitChar" class="mw-redirect" title="SwitChar">SwitChar</a> API in order to determine the current setting. So, if a program is not hardwired to support them all, a user may need to know the current setting even to be able to reliably request help.
If the SwitChar has been changed to <code>-</code> and therefore the <code>/</code> character is accepted as alternative path delimiter also at the DOS command line, programs may misinterpret options like <code>/h</code> or <code>/H</code> as paths rather than help parameters.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-7" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> However, if given as first or only parameter, most DOS programs will, by convention, accept it as request for help regardless of the current SwitChar setting.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-8" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-4DOS_8.00_HELP_28-1" class="reference"><a href="#cite_note-4DOS_8.00_HELP-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup>
</p><p>In some cases, different levels of help can be selected for a program. Some programs supporting this allow to give a verbosity level as an optional argument to the help parameter (as in <code>/H:1</code>, <code>/H:2</code>, etc.) or they give just a short help on help parameters with question mark and a longer help screen for the other help options.<sup id="cite_ref-Paul_2006_FreeKEYB_34-0" class="reference"><a href="#cite_note-Paul_2006_FreeKEYB-34"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup>
</p><p>Depending on the program, additional or more specific help on accepted parameters is sometimes available by either providing the parameter in question as an argument to the help parameter or vice versa (as in <code>/H:W</code> or in <code>/W:?</code> (assuming <code>/W</code> would be another parameter supported by the program)).<sup id="cite_ref-CCI_1997_HELP_35-0" class="reference"><a href="#cite_note-CCI_1997_HELP-35"><span class="cite-bracket">[</span>35<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_1997_DRDOSTIP_36-0" class="reference"><a href="#cite_note-Paul_1997_DRDOSTIP-36"><span class="cite-bracket">[</span>36<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_2002_DEBUG_33-1" class="reference"><a href="#cite_note-Paul_2002_DEBUG-33"><span class="cite-bracket">[</span>33<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_2002_CPI_32-1" class="reference"><a href="#cite_note-Paul_2002_CPI-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Paul_2006_FreeKEYB_34-1" class="reference"><a href="#cite_note-Paul_2006_FreeKEYB-34"><span class="cite-bracket">[</span>34<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-NB1_37-0" class="reference"><a href="#cite_note-NB1-37"><span class="cite-bracket">[</span>nb 1<span class="cite-bracket">]</span></a></sup>
</p><p>In a similar fashion to the help parameter, but much less common, some programs provide additional information about themselves (like mode, status, version, author, license or contact information) when invoked with an <i>about</i> parameter like <code>-!</code>, <code>/!</code>, <code>-about</code>, or <code>--about</code>.<sup id="cite_ref-Paul_2002_CPI_32-2" class="reference"><a href="#cite_note-Paul_2002_CPI-32"><span class="cite-bracket">[</span>32<span class="cite-bracket">]</span></a></sup>
</p><p>Since the <code>?</code> and <code>!</code> characters typically also serve other purposes at the command line, they may not be available in all scenarios, therefore, they should not be the only options to access the corresponding help information.
</p>

<p>If more detailed help is necessary than provided by a program's built-in internal help, many systems support a dedicated external <code><a href="Help_(command)" title="Help (command)">help</a> <i>command</i></code>" command (or similar), which accepts a command name as calling parameter and will invoke an external help system.
</p><p>In the DR-DOS family, typing <code>/?</code> or <code>/H</code> at the <a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a> prompt instead of a command itself will display a dynamically generated list of available internal commands;<sup id="cite_ref-Paul_1997_NWDOSTIP_22-9" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> <a href="4DOS" title="4DOS">4DOS</a> and <a href="NDOS" class="mw-redirect" title="NDOS">NDOS</a> support the same feature by typing <code>?</code> at the prompt<sup id="cite_ref-4DOS_8.00_HELP_28-2" class="reference"><a href="#cite_note-4DOS_8.00_HELP-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup> (which is also accepted by newer versions of DR-DOS COMMAND.COM); internal commands can be individually disabled or reenabled via <code>SETDOS /I</code>.<sup id="cite_ref-4DOS_8.00_HELP_28-3" class="reference"><a href="#cite_note-4DOS_8.00_HELP-28"><span class="cite-bracket">[</span>28<span class="cite-bracket">]</span></a></sup> In addition to this, some newer versions of DR-DOS COMMAND.COM also accept a <code>?%</code> command to display a list of available built-in <a href="DR-DOS_system_information_variable" class="mw-redirect" title="DR-DOS system information variable">pseudo-environment variables</a>. Besides their purpose as quick help reference this can be used in batchjobs to query the facilities of the underlying command-line processor.<sup id="cite_ref-Paul_1997_NWDOSTIP_22-10" class="reference"><a href="#cite_note-Paul_1997_NWDOSTIP-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading3"><h3 id="Command_description_syntax">Command description syntax</h3></div>
<p>Built-in usage help and <a href="Man_page" title="Man page">man pages</a> commonly employ a small syntax to describe the valid command form:<sup id="cite_ref-OpenGroup_2008_38-0" class="reference"><a href="#cite_note-OpenGroup_2008-38"><span class="cite-bracket">[</span>37<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Microsoft_2005_Shell_39-0" class="reference"><a href="#cite_note-Microsoft_2005_Shell-39"><span class="cite-bracket">[</span>38<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Microsoft_2010_Syntax_40-0" class="reference"><a href="#cite_note-Microsoft_2010_Syntax-40"><span class="cite-bracket">[</span>39<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-NB2_41-0" class="reference"><a href="#cite_note-NB2-41"><span class="cite-bracket">[</span>nb 2<span class="cite-bracket">]</span></a></sup>
</p>
<ul><li>angle brackets for <i>required</i> parameters: <code>ping &lt;hostname&gt;</code></li>
<li>square brackets for <i>optional</i> parameters: <code>mkdir [-p] &lt;dirname&gt;</code></li>
<li>ellipses for <i>repeated</i> items: <code>cp &lt;source1&gt; [source2…] &lt;dest&gt;</code></li>
<li>vertical bars for <i>choice</i> of items: <code>netstat {-t|-u}</code></li></ul>
<p>Notice that these characters have different meanings than when used directly in the shell. Angle brackets may be omitted when confusing the parameter name with a literal string is not likely.
</p>
<div class="mw-heading mw-heading3"><h3 id="The_space_character">The space character</h3></div>
<p>In many areas of computing, but particularly in the command line, the <a href="Space_character" class="mw-redirect" title="Space character">space character</a> can cause problems as it has two distinct and incompatible functions: as part of a command or parameter, or as a parameter or name <a href="Delimiter" title="Delimiter">separator</a>. Ambiguity can be prevented either by prohibiting embedded spaces in file and directory names in the first place (for example, by substituting them with <a href="Underscores" class="mw-redirect" title="Underscores">underscores</a> <code>_</code>), or by enclosing a name with embedded spaces between quote characters or using an <a href="Escape_character" title="Escape character">escape character</a> before the space, usually a <a href="Backslash" title="Backslash">backslash</a> (<code>\</code>). For example
</p>
<dl><dd><code>Long path/Long program name Parameter one Parameter two</code> …</dd></dl>
<p>is ambiguous (is <i>program name</i> part of the program name, or two parameters?); however
</p>
<dl><dd><code>Long_path/Long_program_name Parameter_one Parameter_two</code> …,</dd>
<dd><code>LongPath/LongProgramName ParameterOne ParameterTwo</code> …,</dd>
<dd><code>"Long path/Long program name" "Parameter one" "Parameter two"</code> …</dd></dl>
<p>and
</p>
<dl><dd><code>Long\ path/Long\ program\ name Parameter\ one Parameter\ two</code> …</dd></dl>
<p>are not ambiguous. <a href="Unix" title="Unix">Unix</a>-based operating systems minimize the use of embedded spaces to minimize the need for quotes. In <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a>, one often has to use quotes because embedded spaces (such as in directory names) are common.
</p>
<div class="mw-heading mw-heading2"><h2 id="Command-line_interpreter">Command-line interpreter</h2></div>
<div role="note" class="hatnote navigation-not-searchable">See also: <a href="List_of_command-line_interpreters" title="List of command-line interpreters">List of command-line interpreters</a></div>
<style data-mw-deduplicate="TemplateStyles:r1244412712">
/* start https://en.wikipedia.org/ */


.mw-parser-output .templatequote{overflow:hidden;margin:1em 0;padding:0 32px}.mw-parser-output .templatequotecite{line-height:1.5em;text-align:left;margin-top:0}@media(min-width:500px){.mw-parser-output .templatequotecite{padding-left:1.6em}}


/* end https://en.wikipedia.org/ */
</style><blockquote class="templatequote"><p>Although most users think of the shell as an interactive command interpreter, it is really a programming language in which each statement runs a command. Because it must satisfy both the interactive and programming aspects of command execution, it is a strange language, shaped as much by history as by design.</p></blockquote><div class="templatequotecite"><p style="display: inline; padding-left: 2.3em;">— <a href="Brian_W._Kernighan" class="mw-redirect" title="Brian W. Kernighan">Brian W. Kernighan</a> &amp; <a href="Rob_Pike" title="Rob Pike">Rob Pike</a><sup id="cite_ref-Kerninghan_1984_42-0" class="reference"><a href="#cite_note-Kerninghan_1984-42"><span class="cite-bracket">[</span>40<span class="cite-bracket">]</span></a></sup></p></div>
<p>The term <b>command-line interpreter</b> is applied to <a href="Computer_program" title="Computer program">computer programs</a> designed to <a href="Interpreter_(computing)" title="Interpreter (computing)">interpret</a> a sequence of lines of text which may be entered by a user, read from a file or another kind of <a href="Data_stream" title="Data stream">data stream</a>. The context of interpretation is usually one of a given <a href="Operating_system" title="Operating system">operating system</a> or <a href="Programming_language" title="Programming language">programming language</a>.
</p><p>Command-line interpreters allow users to issue various commands in a very efficient (and often terse) way. This requires the user to know the names of the commands and their parameters, and the syntax of the <a href="Programming_language" title="Programming language">language</a> that is interpreted.
</p><p>The Unix <a href="Shebang_(Unix)" title="Shebang (Unix)"><code>#!</code></a> mechanism and OS/2 EXTPROC command facilitate the passing of batch files to external processors. One can use these mechanisms to write specific command processors for dedicated uses, and process external data files which reside in batch files.
</p><p>Many graphical interfaces, such as the OS/2 <a href="Presentation_Manager" title="Presentation Manager">Presentation Manager</a> and early versions of Microsoft Windows use command lines to call helper programs to open documents and programs. The commands are stored in the graphical shell or in files like the registry or the <a href="OS/2" title="OS/2">OS/2</a> <code>OS2USER.INI</code> file.
</p>
<div class="mw-heading mw-heading3"><h3 id="Early_history">Early history</h3></div>


<p>The earliest computers did not support interactive input/output devices, often relying on <a href="Sense_switch" title="Sense switch">sense switches</a> and lights to communicate with the <a href="Computer_operator" title="Computer operator">computer operator</a>. This was adequate for <a href="Batch_processing" title="Batch processing">batch</a> systems that ran one program at a time, often with the programmer acting as operator. This also had the advantage of low overhead, since lights and switches could be tested and set with one machine instruction. Later a single <a href="System_console" class="mw-redirect" title="System console">system console</a> was added to allow the operator to communicate with the system.
</p><p>From the 1960s onwards, user interaction with computers was primarily by means of command-line interfaces, initially on machines like the <a href="Teletype_Model_33" title="Teletype Model 33">Teletype Model 33</a> ASR, but then on early <a href="Cathode_ray_tube" class="mw-redirect" title="Cathode ray tube">CRT</a>-based <a href="Computer_terminals" class="mw-redirect" title="Computer terminals">computer terminals</a> such as the <a href="VT52" title="VT52">VT52</a>.
</p><p>All of these devices were purely text based, with no ability to display graphic or pictures.<sup id="cite_ref-NB3_43-0" class="reference"><a href="#cite_note-NB3-43"><span class="cite-bracket">[</span>nb 3<span class="cite-bracket">]</span></a></sup> For business <a href="Application_program" class="mw-redirect" title="Application program">application programs</a>, text-based <a href="Menu_(computing)" title="Menu (computing)">menus</a> were used, but for more general interaction the command line was the interface.
</p><p>Around 1964 <a href="Louis_Pouzin" title="Louis Pouzin">Louis Pouzin</a> introduced the concept and the name <i>shell</i> in <a href="Multics" title="Multics">Multics</a>, building on earlier, simpler facilities in the <a href="Compatible_Time-Sharing_System" title="Compatible Time-Sharing System">Compatible Time-Sharing System</a> (CTSS).<sup id="cite_ref-Pouzin_44-0" class="reference"><a href="#cite_note-Pouzin-44"><span class="cite-bracket">[</span>41<span class="cite-bracket">]</span></a></sup>
</p><p>From the early 1970s the <a href="Unix" title="Unix">Unix</a> operating system adapted the concept of a powerful command-line environment, and introduced the ability to <i><a href="Pipeline_(Unix)" title="Pipeline (Unix)">pipe</a></i> the output of one command in as input to another. Unix also had the capability to save and re-run strings of commands as <a href="Shell_scripts" class="mw-redirect" title="Shell scripts">shell scripts</a> which acted like custom commands.
</p><p>The command line was also the main interface for the early home computers such as the <a href="Commodore_PET" title="Commodore PET">Commodore PET</a>, <a href="Apple_II" title="Apple II">Apple II</a> and <a href="BBC_Micro" title="BBC Micro">BBC Micro</a>&nbsp;– almost always in the form of a <a href="BASIC" title="BASIC">BASIC</a> interpreter. When more powerful business-oriented microcomputers arrived with <a href="CP/M" title="CP/M">CP/M</a> and later <a href="DOS" title="DOS">DOS</a> computers such as the <a href="IBM_PC" class="mw-redirect" title="IBM PC">IBM PC</a>, the command line began to borrow some of the syntax and features of the Unix shells such as <a href="Globbing" class="mw-redirect" title="Globbing">globbing</a> and <a href="Pipeline_(Unix)" title="Pipeline (Unix)">piping</a> of output.
</p><p>The command line was first seriously challenged by the <a href="PARC_(company)" title="PARC (company)">PARC</a> <a href="GUI" class="mw-redirect" title="GUI">GUI</a> approach used in the 1983 <a href="Apple_Lisa" title="Apple Lisa">Apple Lisa</a> and the 1984 <a href="Apple_Macintosh" class="mw-redirect" title="Apple Macintosh">Apple Macintosh</a>. A few computer users used GUIs such as <a href="GEOS_(16-bit_operating_system)" title="GEOS (16-bit operating system)">GEOS</a> and <a href="Windows_3.1" title="Windows 3.1">Windows 3.1</a> but the majority of <a href="IBM_PC" class="mw-redirect" title="IBM PC">IBM PC</a> users did not replace their <a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a> shell with a GUI until <a href="Windows_95" title="Windows 95">Windows 95</a> was released in 1995.<sup id="cite_ref-Betanews_45-0" class="reference"><a href="#cite_note-Betanews-45"><span class="cite-bracket">[</span>42<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Microsoft_History_46-0" class="reference"><a href="#cite_note-Microsoft_History-46"><span class="cite-bracket">[</span>43<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading3"><h3 id="Modern_usage_as_an_operating_system_shell">Modern usage as an operating system shell</h3></div>
<p>While most non-expert computer users now use a GUI almost exclusively, more advanced users have access to powerful command-line environments:
</p>
<ul><li>The default VAX/VMS command shell, using the <a href="DIGITAL_Command_Language" title="DIGITAL Command Language">DCL</a> language, has been ported to Windows systems at least three times, including PC-DCL and Acceler8 DCL Lite. Unix command shells have been ported to VMS and DOS/Windows 95 and Windows NT types of operating systems.</li>
<li><a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a> is the command-line interpreter of <a href="MS-DOS" title="MS-DOS">MS-DOS</a>, <a href="IBM_PC_DOS" title="IBM PC DOS">IBM PC DOS</a>, and clones such as <a href="DR-DOS" title="DR-DOS">DR-DOS</a>, <a href="SISNE_plus" title="SISNE plus">SISNE plus</a>, <a href="PTS-DOS" title="PTS-DOS">PTS-DOS</a>, <a href="ROM-DOS" class="mw-redirect" title="ROM-DOS">ROM-DOS</a>, and <a href="FreeDOS" title="FreeDOS">FreeDOS</a>.</li>
<li>Windows <a href="Resource_Kit" title="Resource Kit">Resource Kit</a> and <a href="Windows_Services_for_UNIX" title="Windows Services for UNIX">Windows Services for UNIX</a> include Korn and the Bourne shells along with a Perl interpreter (Services for UNIX contains <a href="ActiveState" title="ActiveState">ActiveState</a> <a href="ActivePerl" title="ActivePerl">ActivePerl</a> in later versions and <a href="Interix" title="Interix">Interix</a> for versions 1 and 2 and a shell compiled by Microsoft)</li>
<li>IBM OS/2 (and derivatives such as <a href="EComStation" title="EComStation">eComStation</a> and <a href="ArcaOS" title="ArcaOS">ArcaOS</a>) has the <a href="Cmd.exe" title="Cmd.exe">cmd.exe</a> processor. This copies the <a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a> commands, with extensions to <a href="REXX" class="mw-redirect" title="REXX">REXX</a>.</li>
<li>cmd.exe is part of the <a href="Windows_NT" title="Windows NT">Windows NT</a> stream of operating systems.</li>
<li>Yet another cmd.exe is a stripped-down shell for <a href="Windows_CE" title="Windows CE">Windows CE</a> 3.0.</li>
<li>An MS-DOS type interpreter called PocketDOS has been ported to Windows CE machines; the most recent release is almost identical to MS-DOS 6.22 and can also run Windows 1, 2, and 3.0, <a href="QBasic" title="QBasic">QBasic</a> and other development tools, 4NT and 4DOS. The latest release includes several shells, namely MS-DOS 6.22, PC&nbsp;DOS 7, DR&nbsp;DOS 3.xx, and others.</li>
<li>Windows users might use the <a href="CScript" class="mw-redirect" title="CScript">CScript</a> interface to alternate programs, from the command line. <a href="PowerShell" title="PowerShell">PowerShell</a> provides a command-line interface, but its applets are not written in <a href="Shell_script" title="Shell script">Shell script</a>. Implementations of the <a href="Unix_shell" title="Unix shell">Unix shell</a> are also available as part of the <a href="Microsoft_POSIX_subsystem" title="Microsoft POSIX subsystem">POSIX sub-system</a>,<sup id="cite_ref-Microsoft_POSIX_47-0" class="reference"><a href="#cite_note-Microsoft_POSIX-47"><span class="cite-bracket">[</span>44<span class="cite-bracket">]</span></a></sup> <a href="Cygwin" title="Cygwin">Cygwin</a>, <a href="MKS_Toolkit" title="MKS Toolkit">MKS Toolkit</a>, <a href="UWIN" title="UWIN">UWIN</a>, <a href="Hamilton_C_shell" title="Hamilton C shell">Hamilton C shell</a> and other software packages. Available shells for these interoperability tools include <a href="C_shell" title="C shell">csh</a>, <a href="KornShell" title="KornShell">ksh</a>, <a href="Bourne_shell" title="Bourne shell">sh</a>, Bash, <a href="Restricted_shell" title="Restricted shell">rsh</a>, <a href="Tclsh" class="mw-redirect" title="Tclsh">tclsh</a> and less commonly <a href="Zsh" class="mw-redirect" title="Zsh">zsh</a>, psh</li>
<li>Implementations of <a href="PHP" title="PHP">PHP</a> have a shell for interactive use called php-cli.</li>
<li>Standard <a href="Tcl/Tk" class="mw-redirect" title="Tcl/Tk">Tcl/Tk</a> has two interactive shells, Tclsh and Wish, the latter being the GUI version.</li>
<li><a href="Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a>, <a href="Lua_(programming_language)" class="mw-redirect" title="Lua (programming language)">Lua</a>, <a href="XLNT" title="XLNT">XLNT</a>, and other interpreters also have command shells for interactive use.</li>
<li><a href="FreeBSD" title="FreeBSD">FreeBSD</a> uses <a href="Tcsh" title="Tcsh">tcsh</a> as its default interactive shell for the <a href="Superuser" title="Superuser">superuser</a>, and <a href="Almquist_shell" title="Almquist shell">ash</a> as default scripting shell.</li>
<li>Many <a href="Linux_distribution" title="Linux distribution">Linux distributions</a> have the Bash implementation of the <a href="Unix_shell" title="Unix shell">Unix shell</a>.</li>
<li>Apple <a href="MacOS" title="MacOS">macOS</a> and some Linux distributions use <a href="Zsh" class="mw-redirect" title="Zsh">zsh</a>. Previously, macOS used <a href="Tcsh" title="Tcsh">tcsh</a> and Bash.</li>
<li><a href="Embedded_Linux" class="mw-redirect" title="Embedded Linux">Embedded Linux</a> (and other embedded <a href="Unix-like" title="Unix-like">Unix-like</a>) devices often use the <a href="Almquist_shell" title="Almquist shell">Ash</a> implementation of the Unix shell, as part of <a href="Busybox" class="mw-redirect" title="Busybox">Busybox</a>.</li>
<li><a href="Android_(operating_system)" title="Android (operating system)">Android</a> uses the <a href="KornShell" title="KornShell">mksh</a> shell,<sup id="cite_ref-Android_mksh_48-0" class="reference"><a href="#cite_note-Android_mksh-48"><span class="cite-bracket">[</span>45<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-Android_adb_49-0" class="reference"><a href="#cite_note-Android_adb-49"><span class="cite-bracket">[</span>46<span class="cite-bracket">]</span></a></sup> which replaces a shell derived from <a href="Almquist_shell" title="Almquist shell">ash</a><sup id="cite_ref-Android_sh_50-0" class="reference"><a href="#cite_note-Android_sh-50"><span class="cite-bracket">[</span>47<span class="cite-bracket">]</span></a></sup> that was used in older Android versions, supplemented with commands from the separate <i>toolbox</i><sup id="cite_ref-Android_Toolbox_51-0" class="reference"><a href="#cite_note-Android_Toolbox-51"><span class="cite-bracket">[</span>48<span class="cite-bracket">]</span></a></sup> binary.</li>
<li><a href="HarmonyOS" title="HarmonyOS">HarmonyOS</a>, <a href="OpenHarmony" title="OpenHarmony">OpenHarmony</a> and Oniro uses the commands from third party <i>toolbox</i> compatibility system attached to Linux kernel of the subsystem alongside default Shell with exec commands.<sup id="cite_ref-52" class="reference"><a href="#cite_note-52"><span class="cite-bracket">[</span>49<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-53" class="reference"><a href="#cite_note-53"><span class="cite-bracket">[</span>50<span class="cite-bracket">]</span></a></sup></li>
<li>Routers with <a href="Cisco_IOS" title="Cisco IOS">Cisco IOS</a>,<sup id="cite_ref-Cisco_IOS_54-0" class="reference"><a href="#cite_note-Cisco_IOS-54"><span class="cite-bracket">[</span>51<span class="cite-bracket">]</span></a></sup> <a href="Junos" class="mw-redirect" title="Junos">Junos</a><sup id="cite_ref-Juniper_55-0" class="reference"><a href="#cite_note-Juniper-55"><span class="cite-bracket">[</span>52<span class="cite-bracket">]</span></a></sup> and many others are commonly configured from the command line.</li>
<li>The <a href="Plan_9_from_Bell_Labs" title="Plan 9 from Bell Labs">Plan 9</a> operating system uses the <a href="Rc_(Unix_shell)" title="Rc (Unix shell)">rc</a> shell, which is similar in design to the <a href="Unix_shell#Bourne_shell" title="Unix shell">Bourne</a> shell.</li></ul>
<div class="mw-heading mw-heading2"><h2 id="Scripting">Scripting</h2></div>
<p>Most command-line interpreters support <a href="Script_(computer_programming)" class="mw-redirect" title="Script (computer programming)">scripting</a>, to various extents. (They are, after all, interpreters of an <a href="Interpreted_programming_language" class="mw-redirect" title="Interpreted programming language">interpreted programming language</a>, albeit in many cases the language is unique to the particular command-line interpreter.) They will interpret scripts (variously termed <a href="Shell_script" title="Shell script">shell scripts</a> or <a href="Batch_file" title="Batch file">batch files</a>) written in the <a href="Programming_language" title="Programming language">language</a> that they interpret. Some command-line interpreters also incorporate the interpreter engines of other languages, such as <a href="REXX" class="mw-redirect" title="REXX">REXX</a>, in addition to their own, allowing the executing of scripts, in those languages, directly within the command-line interpreter itself.
</p><p>Conversely, <a href="Scripting_programming_language" class="mw-redirect" title="Scripting programming language">scripting programming languages</a>, in particular those with an <a href="Eval" title="Eval">eval</a> <a href="Function_(programming)" class="mw-redirect" title="Function (programming)">function</a> (such as REXX, <a href="Perl" title="Perl">Perl</a>, <a href="Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a> or <a href="Jython" title="Jython">Jython</a>), can be used to implement command-line interpreters and filters. For a few <a href="Operating_system" title="Operating system">operating systems</a>, most notably <a href="DOS" title="DOS">DOS</a>, such a command interpreter provides a more flexible command-line interface than the one supplied. In other cases, such a command interpreter can present a highly customised user interface employing the user interface and input/output facilities of the language.
</p>
<div class="mw-heading mw-heading2"><h2 id="Other_command-line_interfaces">Other command-line interfaces</h2></div>
<p>The command line provides an interface between programs as well as the user. In this sense, a command line is an alternative to a <a href="Dialog_box" title="Dialog box">dialog box</a>. Editors and databases present a command line, in which alternate command processors might run. On the other hand, one might have options on the command line, which opens a dialog box. The latest version of 'Take Command' has this feature. DBase used a dialog box to construct command lines, which could be further edited before use.
</p><p>Programs like BASIC, <a href="Diskpart" title="Diskpart">diskpart</a>, <a href="Edlin" title="Edlin">Edlin</a>, and QBASIC all provide command-line interfaces, some of which use the system shell. Basic is modeled on the default interface for 8-bit Intel computers. Calculators can be run as command-line or dialog interfaces.
</p><p><a href="Emacs" title="Emacs">Emacs</a> provides a command-line interface in the form of its minibuffer. Commands and arguments can be entered using Emacs standard text editing support, and output is displayed in another buffer.
</p><p>There are a number of text mode games, like <i><a href="Colossal_Cave_Adventure" title="Colossal Cave Adventure">Adventure</a></i> or <i><a href="King's_Quest#Series" title="King's Quest">King's Quest 1-3</a></i>, which relied on the user typing commands at the bottom of the screen. One controls the character by typing commands like 'get ring' or 'look'. The program returns a text which describes how the character sees it, or makes the action happen. The <a href="Text_adventure" class="mw-redirect" title="Text adventure">text adventure</a> <i><a href="The_Hitchhiker's_Guide_to_the_Galaxy_(video_game)" title="The Hitchhiker's Guide to the Galaxy (video game)">The Hitchhiker's Guide to the Galaxy</a></i>, a piece of <a href="Interactive_fiction" title="Interactive fiction">interactive fiction</a> based on <a href="Douglas_Adams" title="Douglas Adams">Douglas Adam's</a> book of the same name, is a teletype-style command-line game.
</p><p>The most notable of these interfaces is the <a href="Standard_streams" title="Standard streams">standard streams</a> interface, which allows the output of one command to be passed to the input of another. Text files can serve either purpose as well. This provides the interfaces of piping, filters and redirection. Under Unix, <a href="Everything_is_a_file" title="Everything is a file">devices are files</a> too, so the normal type of file for the shell used for stdin, stdout and stderr is a <a href="Teleprinter#Teleprinters_in_computing" title="Teleprinter">tty</a> device file.
</p><p>Another command-line interface allows a shell program to launch helper programs, either to launch documents or start a program. The command is processed internally by the shell, and then passed on to another program to launch the document. The graphical interface of Windows and OS/2 rely heavily on command lines passed through to other programs&nbsp;– console or graphical, which then usually process the command line without presenting a user-console.
</p><p>Programs like the OS/2 <a href="E_(PC_DOS)" title="E (PC DOS)">E editor</a> and some other IBM <a href="Text_editor" title="Text editor">editors</a>, can process command lines normally meant for the shell, the output being placed directly in the document window.
</p><p>A web browser's URL input field can be used as a command line. It can be used to <i>launch</i> <a href="Web_app" class="mw-redirect" title="Web app">web apps</a>, <a href="About%3Aconfig" class="mw-redirect" title="About:config">access browser configuration</a>, as well as perform a search. <a href="Google" title="Google">Google</a>, which has been called "the command line of the internet" will perform a domain-specific search when it detects search parameters in a known format.<sup id="cite_ref-Google_56-0" class="reference"><a href="#cite_note-Google-56"><span class="cite-bracket">[</span>53<span class="cite-bracket">]</span></a></sup> This functionality is present whether the search is triggered from a browser field or on Google's website.
</p><p>There are <a href="JavaScript" title="JavaScript">JavaScript</a> libraries that allow to write command line applications in browser as standalone Web apps or as part of bigger application.<sup id="cite_ref-57" class="reference"><a href="#cite_note-57"><span class="cite-bracket">[</span>54<span class="cite-bracket">]</span></a></sup> An example of such a website is the CLI interface to <a href="DuckDuckGo" title="DuckDuckGo">DuckDuckGo</a>.<sup id="cite_ref-58" class="reference"><a href="#cite_note-58"><span class="cite-bracket">[</span>55<span class="cite-bracket">]</span></a></sup> There are also <a href="Web-based_SSH" title="Web-based SSH">web-based SSH</a> applications that allow access to a server’s command-line interface from a browser.
</p><p>Many PC <a href="Video_games" class="mw-redirect" title="Video games">video games</a> feature a command line interface often referred to as a console. It is typically used by the game developers during development and by mod developers for debugging purposes as well as for cheating or skipping parts of the game.
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Comparison_of_command_shells" title="Comparison of command shells">Comparison of command shells</a></li>
<li><a href="List_of_command-line_interpreters" title="List of command-line interpreters">List of command-line interpreters</a></li>
<li><a href="Console_application" title="Console application">Console application</a></li>
<li><a href="Interpreter_directive" class="mw-redirect" title="Interpreter directive">Interpreter directive</a></li>
<li><a href="Read-eval-print_loop" class="mw-redirect" title="Read-eval-print loop">Read-eval-print loop</a></li>
<li><a href="Shell_script" title="Shell script">Shell script</a></li>
<li><a href="Run_command" title="Run command">Run command</a></li>
<li><a href="Graphical_user_interface#Comparison_to_other_interfaces" title="Graphical user interface">Graphical user interface §&nbsp;Comparison to other interfaces</a></li>
<li><i><a href="In_the_Beginning..._Was_the_Command_Line" title="In the Beginning... Was the Command Line">In the Beginning... Was the Command Line</a></i></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */


.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}


/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-NB1-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-NB1_37-0">^</a></b></span> <span class="reference-text">An example is the comprehensive internal help system of the <a href="DR-DOS_7.03" class="mw-redirect" title="DR-DOS 7.03">DR-DOS 7.03</a> <a href="DEBUG" class="mw-redirect" title="DEBUG">DEBUG</a> command, which can be invoked via <code>??</code> at the debug prompt (rather than only the default <code>?</code> overview). Specific help pages can be selected via <code>?n</code> (where <code>n</code> is the number of the page). Additionally, help for specific commands can be displayed by specifying the command name after <code>?</code>, f.e. <code>?D</code> will invoke help for the various dump commands (like <code>D</code> etc.). Some of these features were already supported by the <a href="DR_DOS_3.41" class="mw-redirect" title="DR DOS 3.41">DR DOS 3.41</a> SID86 and GEMSID.</span>
</li>
<li id="cite_note-NB2-41"><span class="mw-cite-backlink"><b><a href="#cite_ref-NB2_41-0">^</a></b></span> <span class="reference-text">Notable difference for describing the command syntax of <a href="DOS" title="DOS">DOS</a>-like operating systems: Windows Server 2003 R2 documentation uses italic letters for "information that the user must supply", but Windows Server 2008 documentation uses angle brackets. Italics can not be displayed by the internal <i>help</i> command, while there is no problem with angle brackets.</span>
</li>
<li id="cite_note-NB3-43"><span class="mw-cite-backlink"><b><a href="#cite_ref-NB3_43-0">^</a></b></span> <span class="reference-text">With the exception of <a href="ASCII_art" title="ASCII art">ASCII art</a>.</span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<div class="reflist">
<div class="mw-references-wrap mw-references-columns"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://sqlite.org/cli.html">"Command Line Shell For SQLite"</a>.</cite></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://apereo.github.io/cas/7.0.x/installation/Configuring-Commandline-Shell.html">"CAS - Configuring Commandline Shell"</a>.</cite></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.contentstack.com/blog/tech-talk/the-evolution-of-command-line-interface-cli-a-historical-insight">"The evolution of command line interface (CLI): A historical insight | Contentstack"</a>. <i>www.contentstack.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2025-01-28</span></span>.</cite></span>
</li>
<li id="cite_note-Unix_Shells-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-Unix_Shells_4-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20071108064620/http://www.linuxfinances.info/info/unixshells.html">"Unix Shells"</a>. Archived from <a rel="nofollow" class="external text" href="http://linuxfinances.info/info/unixshells.html">the original</a> on 2007-11-08. <q>the notion of having a replaceable "command shell" rather than a "monitor" tightly integrated with the OS kernel tends to be attributed to Multics.</q></cite></span>
</li>
<li id="cite_note-multicians-5"><span class="mw-cite-backlink">^ <a href="#cite_ref-multicians_5-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-multicians_5-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.multicians.org/shell.html">"The Origin of the Shell"</a>. <i>www.multicians.org</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20171221142542/http://www.multicians.org/shell.html">Archived</a> from the original on 2017-12-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-04-12</span></span>.</cite></span>
</li>
<li id="cite_note-Metz_2013-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-Metz_2013_6-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFMetz2013" class="citation magazine cs1">Metz, Cade (2013-01-03). <a rel="nofollow" class="external text" href="https://www.wired.com/2013/01/louis_pouzin_internet_hall/">"Say Bonjour to the Internet's Long-Lost French Uncle"</a>. <i><a href="Wired_(magazine)" title="Wired (magazine)">Wired</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">2017-07-31</span></span>.</cite></span>
</li>
<li id="cite_note-Mazieres_2004-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-Mazieres_2004_7-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFMazières2004" class="citation web cs1">Mazières, David (Fall 2004). <a rel="nofollow" class="external text" href="http://www.scs.stanford.edu/nyu/04fa/notes/l4d.txt">"MULTICS - The First Seven Years"</a>. <i>Advanced Operating Systems</i>. Stanford Computer Science Department. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20141123000315/http://www.scs.stanford.edu/nyu/04fa/notes/l4d.txt">Archived</a> from the original on 2014-11-23<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-08-01</span></span>.</cite></span>
</li>
<li id="cite_note-ibm-8"><span class="mw-cite-backlink">^ <a href="#cite_ref-ibm_8-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-ibm_8-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFJones2011" class="citation web cs1">Jones, M. (2011-12-06). <a rel="nofollow" class="external text" href="https://www.ibm.com/developerworks/library/l-linux-shells/">"Evolution of shells in Linux"</a>. <i>developerWorks</i>. <a href="IBM" title="IBM">IBM</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170708215831/https://www.ibm.com/developerworks/library/l-linux-shells/">Archived</a> from the original on 2017-07-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-08-01</span></span>.</cite></span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://kartsci.org/kocomu/computer-history/graphical-user-interface-history/">"Graphical User Interface History"</a>. <i>KASS</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-03-24</span></span>.</cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite id="CITEREFSingh2006" class="citation book cs1">Singh, Amit (2006-06-19). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=K8vUkpOXhN4C&amp;dq=macos+was+based+on+darwin&amp;pg=PR7"><i>Mac OS X Internals: A Systems Approach</i></a>. Addison-Wesley Professional. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-0-13-270226-3</bdi>.</cite></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://docs.python.org/3/using/cmdline.html">"1. Command line and environment"</a>. <i>Python documentation</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://aws.amazon.com/what-is/cli/#:~:text=You%20can%20use%20a%20command,benefit%20from%20using%20the%20CLI.">"What is a CLI? - Command Line Interface Explained - AWS"</a>. <i>Amazon Web Services, Inc</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2025-01-28</span></span>.</cite></span>
</li>
<li id="cite_note-Bash-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-Bash_13-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.gnu.org/software/bash/manual/bashref.html#Shell-Commands">"GNU BASH Reference"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20101203065719/https://www.gnu.org/software/bash/manual/bashref.html#Shell-Commands">Archived</a> from the original on 2010-12-03<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-12-20</span></span>.</cite></span>
</li>
<li id="cite_note-Microsoft_Windows-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-Microsoft_Windows_14-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/bb490954.aspx">"Microsoft Windows Command Shell Overview"</a>. 2009-09-11. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150905103923/https://technet.microsoft.com/en-us/library/bb490954.aspx">Archived</a> from the original on 2015-09-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-07-12</span></span>.</cite></span>
</li>
<li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://linuxhandbook.com/shell-builtin-commands/">"Shell Built-in Commands List"</a>. <i>Linux Handbook</i>. 2023-07-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><cite id="CITEREFB" class="citation web cs1">B, Jason. <a rel="nofollow" class="external text" href="https://opensource.com/article/17/6/set-path-linux">"How to set your $PATH variable in Linux | Opensource.com"</a>. <i>opensource.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><cite id="CITEREFJasonGerend2023" class="citation web cs1">JasonGerend (2023-02-03). <a rel="nofollow" class="external text" href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/path">"path"</a>. <i>learn.microsoft.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://tutorials.cloudfoundry.org/cf4devs/getting-started/cli/#:~:text=Documentation,the%20most%20frequently%20used%20commands">"Command Line Interface (CLI)"</a>. <i>tutorials.cloudfoundry.org</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2025-01-28</span></span>.</cite></span>
</li>
<li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.oreilly.com/library/view/learning-the-bash/1565923472/">"Learning the bash Shell, Second Edition [Book]"</a>. <i>www.oreilly.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-DR_1978_SID-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-DR_1978_SID_20-0">^</a></b></span> <span class="reference-text"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="http://www.cpm.z80.de/randyfiles/DRI/SID_ZSID.pdf"><i>SID Users Guide</i></a> <span class="cs1-format">(PDF)</span>. <a href="Digital_Research" title="Digital Research">Digital Research</a>. 1978. 595-2549. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20191020124044/http://www.cpm.z80.de/randyfiles/DRI/SID_ZSID.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2019-10-20<span class="reference-accessdate">. Retrieved <span class="nowrap">2020-02-06</span></span>.</cite> (4+69 pages)</span>
</li>
<li id="cite_note-DR_1982_SID86-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-DR_1982_SID86_21-0">^</a></b></span> <span class="reference-text"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="http://www.cpm.z80.de/manuals/SID86_User_Guide.txt"><i>SID-86 User's Guide for CP/M-86</i></a> (2&nbsp;ed.). <a href="Digital_Research" title="Digital Research">Digital Research</a>. August 1982 [March 1982]. SID86UG.WS4. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20191020123025/http://www.cpm.z80.de/manuals/SID86_User_Guide.txt">Archived</a> from the original on 2019-10-20<span class="reference-accessdate">. Retrieved <span class="nowrap">2020-02-06</span></span>.</cite> <a rel="nofollow" class="external autonumber" href="https://web.archive.org/web/20200208055456/https://archive.computerhistory.org/resources/access/text/2016/12/102762507-05-01-acc.pdf">[1]</a> (NB. A retyped version of the manual by Emmanuel Roche with Q, SR, and Z commands added.)</span>
</li>
<li id="cite_note-Paul_1997_NWDOSTIP-22"><span class="mw-cite-backlink">^ <a href="#cite_ref-Paul_1997_NWDOSTIP_22-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-3"><sup><i><b>d</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-4"><sup><i><b>e</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-5"><sup><i><b>f</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-6"><sup><i><b>g</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-7"><sup><i><b>h</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-8"><sup><i><b>i</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-9"><sup><i><b>j</b></i></sup></a> <a href="#cite_ref-Paul_1997_NWDOSTIP_22-10"><sup><i><b>k</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPaul1997" class="citation web cs1 cs1-prop-foreign-lang-source">Paul, Matthias R. (1997-07-30). <a rel="nofollow" class="external text" href="http://www.antonis.de/dos/dos-tuts/mpdostip/html/nwdostip.htm">"NWDOS-TIPs – Tips &amp; Tricks rund um Novell DOS 7, mit Blick auf undokumentierte Details, Bugs und Workarounds"</a>. <i>MPDOSTIP</i>. Release 157 (in German) (3&nbsp;ed.). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170910194752/http://www.antonis.de/dos/dos-tuts/mpdostip/html/nwdostip.htm">Archived</a> from the original on 2017-09-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-09-06</span></span>.</cite> (NB. NWDOSTIP.TXT is a comprehensive work on <a href="Novell_DOS_7" class="mw-redirect" title="Novell DOS 7">Novell DOS 7</a> and <a href="OpenDOS_7.01" class="mw-redirect" title="OpenDOS 7.01">OpenDOS 7.01</a>, including the description of many undocumented features and internals. It is part of the author's yet larger MPDOSTIP.ZIP collection maintained up to 2001 and distributed on many sites at the time. The provided link points to a HTML-converted older version of the NWDOSTIP.TXT file.)</span>
</li>
<li id="cite_note-Parker_2011-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-Parker_2011_23-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFParker2011" class="citation book cs1">Parker, Steve (2011). "Chapter 11: Choosing and using shells". <a rel="nofollow" class="external text" href="https://books.google.com/books?id=wWjqCF9HLfYC"><i>Shell Scripting: Expert Recipes for Linux, Bash and more</i></a>. Programmer to programmer. Indianapolis, USA: <a href="John_Wiley_%26_Sons" class="mw-redirect" title="John Wiley &amp; Sons">John Wiley &amp; Sons</a>. p.&nbsp;262. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-111816632-1</bdi>. <q>The shell has four different command prompts, called PS1, P52, P53, and PS4. PS stands for Prompt String.</q></cite></span>
</li>
<li id="cite_note-Acorn_1992-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-Acorn_1992_24-0">^</a></b></span> <span class="reference-text"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="http://www.4corn.co.uk/_archive/docs/RISC%20OS%203%20User%20Guide%20(3.0)-opt.pdf"><i>RISC OS 3 User Guide</i></a> <span class="cs1-format">(PDF)</span>. <a href="Acorn_Computers_Limited" class="mw-redirect" title="Acorn Computers Limited">Acorn Computers Limited</a>. 1992-03-01. p.&nbsp;125. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170109183207/http://www.4corn.co.uk/_archive/docs/RISC%20OS%203%20User%20Guide%20(3.0)-opt.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2017-01-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-04-12</span></span>.</cite></span>
</li>
<li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text"><cite id="CITEREFnguyen-dows2024" class="citation web cs1">nguyen-dows (2024-05-29). <a rel="nofollow" class="external text" href="https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments">"Windows Terminal command line arguments"</a>. <i>learn.microsoft.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-26"><span class="mw-cite-backlink"><b><a href="#cite_ref-26">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.w3schools.in/c-programming/command-line-arguments">"Command Line Arguments in C"</a>. <i>www.w3schools.in</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-27">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.geeksforgeeks.org/command-line-arguments-in-java/">"Command Line Arguments in Java"</a>. <i>GeeksforGeeks</i>. 2016-08-16<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-08-05</span></span>.</cite></span>
</li>
<li id="cite_note-4DOS_8.00_HELP-28"><span class="mw-cite-backlink">^ <a href="#cite_ref-4DOS_8.00_HELP_28-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-4DOS_8.00_HELP_28-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-4DOS_8.00_HELP_28-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-4DOS_8.00_HELP_28-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFBrothersRawsonConnPaul2002" class="citation book cs1">Brothers, Hardin; <a href="Tom_Rawson" class="mw-redirect" title="Tom Rawson">Rawson, Tom</a>; <a href="Rex_C._Conn" class="mw-redirect" title="Rex C. Conn">Conn, Rex C.</a>; Paul, Matthias R.; Dye, Charles E.; Georgiev, Luchezar I. (2002-02-27). <a href="4DOS_8.00" class="mw-redirect" title="4DOS 8.00"><i>4DOS 8.00 online help</i></a>.</cite></span>
</li>
<li id="cite_note-Caldera_1998_DELTREE101-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-Caldera_1998_DELTREE101_29-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFPaul1998" class="citation book cs1">Paul, Matthias R. (1998-01-09). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190408145354/http://www.lookas.net/ftp/incoming/darbui/Justas/DRDOS/DELTREE.BAT"><i>DELTREE.BAT R1.01 Extended file and directory delete</i></a>. <a href="Caldera%2C_Inc." class="mw-redirect" title="Caldera, Inc.">Caldera, Inc.</a> Archived from <a rel="nofollow" class="external text" href="http://www.lookas.net/ftp/incoming/darbui/Justas/DRDOS/DELTREE.BAT">the original</a> on 2019-04-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-04-08</span></span>.</cite></span>
</li>
<li id="cite_note-Caldera_1998_NEW703-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-Caldera_1998_NEW703_30-0">^</a></b></span> <span class="reference-text"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20190408142232/http://www.lookas.net/ftp/incoming/darbui/Justas/DRDOS/WHATSNEW.TXT"><i>DR-DOS 7.03 WHATSNEW.TXT&nbsp;— Changes from DR-DOS 7.02 to DR-DOS 7.03</i></a>. <a href="Caldera%2C_Inc." class="mw-redirect" title="Caldera, Inc.">Caldera, Inc.</a> 1998-12-24. Archived from <a rel="nofollow" class="external text" href="http://www.lookas.net/ftp/incoming/darbui/Justas/DRDOS/WHATSNEW.TXT">the original</a> on 2019-04-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-04-08</span></span>.</cite></span>
</li>
<li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html">"Argument Syntax (The GNU C Library)"</a>. <i>gnu.org</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210618184837/https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html">Archived</a> from the original on 2021-06-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-07-09</span></span>.</cite></span>
</li>
<li id="cite_note-Paul_2002_CPI-32"><span class="mw-cite-backlink">^ <a href="#cite_ref-Paul_2002_CPI_32-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Paul_2002_CPI_32-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-Paul_2002_CPI_32-2"><sup><i><b>c</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPaul2002" class="citation web cs1">Paul, Matthias R. (2002-05-13). <a rel="nofollow" class="external text" href="https://marc.info/?l=freedos-dev&amp;m=102133580113139&amp;w=2">"[fd-dev] mkeyb"</a>. <i>freedos-dev</i>. <a rel="nofollow" class="external text" href="https://archive.today/20180910213410/https://marc.info/?l=freedos-dev&amp;m=102133580113139&amp;w=2">Archived</a> from the original on 2018-09-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-09-10</span></span>. <q>[…] CPI /H […] CPI [@] [@] [/?|/Help[:topic]] [/!|/About] […] [?|&amp;] […] /?, /Help Display this help screen or specific help for a topic (+) […] /!, /About Display the 'About' info screen […] /Cpifile (+) .CPI/.CP file name &lt;EGA.CPI&gt;; extension: &lt;.CPI&gt;; CPI.EXE=StdIn […] /Report Report file name &lt;'<s></s>'=StdOut&gt;; extension: &lt;.RPT&gt; […] /Style (+) Export &lt;0&gt;-6=BIN-raw/ROM/RAM/PSF0/1/SH/CHED; 7-12/13-18/19-24=ASM-hex/dec/bin/ip/il/p/l/mp/ml […] CPI /H:C […] Overview on codepage file parameter usage: […] CPI /H:S […] Overview on /Style parameters: […]&nbsp;?, &amp; Online edit mode (prompts for additional parameter input) […]</q></cite></span>
</li>
<li id="cite_note-Paul_2002_DEBUG-33"><span class="mw-cite-backlink">^ <a href="#cite_ref-Paul_2002_DEBUG_33-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Paul_2002_DEBUG_33-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPaul2002" class="citation newsgroup cs1">Paul, Matthias R. (2002-01-09). <a rel="nofollow" class="external text" href="https://groups.google.com/d/msg/comp.os.cpm/KG4R7ZNvHK8/U5LAkmjcxYgJ">"SID86"</a>. <a href="Usenet_newsgroup" title="Usenet newsgroup">Newsgroup</a>:&nbsp;<a rel="nofollow" class="external text" href="news:comp.os.cpm">comp.os.cpm</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2018-04-08</span></span>. <q>[…] Since the <a href="DR-DOS_7.03" class="mw-redirect" title="DR-DOS 7.03">DR-DOS 7.03</a> <a href="DEBUG" class="mw-redirect" title="DEBUG">DEBUG</a> is still based on the old SID86.EXE, I suggest to run DEBUG 1.51 and enter the extended help system with&nbsp;?? from the debug prompt. This will give you eight screens full of syntax and feature help. Some of these features were also supported by older issues. […]</q></cite></span>
</li>
<li id="cite_note-Paul_2006_FreeKEYB-34"><span class="mw-cite-backlink">^ <a href="#cite_ref-Paul_2006_FreeKEYB_34-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Paul_2006_FreeKEYB_34-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite id="CITEREFPaulFrinke2006" class="citation book cs1">Paul, Matthias R.; Frinke, Axel C. (2006-01-16). <i>FreeKEYB - Advanced international DOS keyboard and console driver</i> (User Manual) (v7 preliminary&nbsp;ed.).</cite></span>
</li>
<li id="cite_note-CCI_1997_HELP-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-CCI_1997_HELP_35-0">^</a></b></span> <span class="reference-text"><cite class="citation book cs1"><i>CCI Multiuser DOS 7.22 GOLD Online Documentation</i>. <a href="Concurrent_Controls%2C_Inc." class="mw-redirect" title="Concurrent Controls, Inc.">Concurrent Controls, Inc.</a> (CCI). 1997-02-10. HELP.HLP.</cite> (NB. The symbolic instruction debugger SID86 provides a short help screen on <code>?</code> and comprehensive help on <code>??</code>.)</span>
</li>
<li id="cite_note-Paul_1997_DRDOSTIP-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-Paul_1997_DRDOSTIP_36-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFPaul1997" class="citation web cs1 cs1-prop-foreign-lang-source">Paul, Matthias R. (1997-05-24) [1991]. <a rel="nofollow" class="external text" href="http://www.antonis.de/dos/dos-tuts/mpdostip/html/drdostip.htm">"DRDOSTIP.TXT – Tips und Tricks für DR DOS 3.41 - 5.0"</a>. <i>MPDOSTIP</i> (in German) (47&nbsp;ed.). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20161107125452/http://www.antonis.de/dos/dos-tuts/mpdostip/html/drdostip.htm">Archived</a> from the original on 2016-11-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-11-07</span></span>.</cite></span>
</li>
<li id="cite_note-OpenGroup_2008-38"><span class="mw-cite-backlink"><b><a href="#cite_ref-OpenGroup_2008_38-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html">"The Open Group Base Specifications Issue 7, Chapter 12.1 Utility Argument Syntax"</a>. <a href="The_Open_Group" title="The Open Group">The Open Group</a>. 2008. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20130430125310/http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html">Archived</a> from the original on 2013-04-30<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-04-07</span></span>.</cite><span class="neverexpand"><code><a rel="nofollow" class="external text" href="https://linux.die.net/man/7/man-pages">man-pages(7)</a></code></span>&nbsp;–&nbsp;<a href="Linux" title="Linux">Linux</a> Conventions and Miscellany <a href="Man_page" title="Man page">Manual</a> (NB. Conventions for describing commands on Unix-like operating systems.)</span>
</li>
<li id="cite_note-Microsoft_2005_Shell-39"><span class="mw-cite-backlink"><b><a href="#cite_ref-Microsoft_2005_Shell_39-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc737438.aspx">"Command shell overview"</a>. <i>Windows Server 2003 Product Help</i>. <a href="Microsoft" title="Microsoft">Microsoft</a>. 2005-01-21. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20120712200546/http://technet.microsoft.com/en-us/library/cc737438.aspx">Archived</a> from the original on 2012-07-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-04-07</span></span>.</cite></span>
</li>
<li id="cite_note-Microsoft_2010_Syntax-40"><span class="mw-cite-backlink"><b><a href="#cite_ref-Microsoft_2010_Syntax_40-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc771080.aspx">"Command-Line Syntax Key"</a>. <i>Windows Server 2008 R2 TechNet Library</i>. <a href="Microsoft" title="Microsoft">Microsoft</a>. 2010-01-25. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20130504221131/http://technet.microsoft.com/en-us/library/cc771080.aspx">Archived</a> from the original on 2013-05-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-04-07</span></span>.</cite></span>
</li>
<li id="cite_note-Kerninghan_1984-42"><span class="mw-cite-backlink"><b><a href="#cite_ref-Kerninghan_1984_42-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFKernighanPike1984" class="citation book cs1"><a href="Brian_Kernighan" title="Brian Kernighan">Kernighan, Brian W.</a>; <a href="Rob_Pike" title="Rob Pike">Pike, Rob</a> (1984). <span class="id-lock-registration" title="Free registration required"><a rel="nofollow" class="external text" href="https://archive.org/details/unixprogramminge0000kern"><i>The UNIX Programming Environment</i></a></span>. Englewood Cliffs: <a href="Prentice-Hall" class="mw-redirect" title="Prentice-Hall">Prentice-Hall</a>. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>0-13-937699-2</bdi>.</cite></span>
</li>
<li id="cite_note-Pouzin-44"><span class="mw-cite-backlink"><b><a href="#cite_ref-Pouzin_44-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFPouzin" class="citation web cs1">Pouzin, Louis. <a rel="nofollow" class="external text" href="http://www.multicians.org/shell.html">"The Origin of the Shell"</a>. <i>Multicians.org</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20171221142542/http://www.multicians.org/shell.html">Archived</a> from the original on 2017-12-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2013-09-22</span></span>.</cite></span>
</li>
<li id="cite_note-Betanews-45"><span class="mw-cite-backlink"><b><a href="#cite_ref-Betanews_45-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFWilcox2010" class="citation web cs1">Wilcox, Joe (2010-08-24). <a rel="nofollow" class="external text" href="http://betanews.com/2010/08/24/remembering-windows-95-s-launch-15-years-later/">"Remembering Windows 95's launch 15 years later"</a>. <i>BetaNews</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150218221032/http://betanews.com/2010/08/24/remembering-windows-95-s-launch-15-years-later/">Archived</a> from the original on 2015-02-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-02-18</span></span>.</cite></span>
</li>
<li id="cite_note-Microsoft_History-46"><span class="mw-cite-backlink"><b><a href="#cite_ref-Microsoft_History_46-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20150301073112/http://windows.microsoft.com/en-US/windows/history">"A history of Windows"</a>. <i>windows.microsoft.com</i>. Archived from <a rel="nofollow" class="external text" href="http://windows.microsoft.com/en-US/windows/history#T1=era0">the original</a> on 2015-03-01.</cite></span>
</li>
<li id="cite_note-Microsoft_POSIX-47"><span class="mw-cite-backlink"><b><a href="#cite_ref-Microsoft_POSIX_47-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/library/cc754351.aspx">"Windows POSIX shell compatibility"</a>. 2013-02-22. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170703090254/https://technet.microsoft.com/en-us/library/cc754351.aspx">Archived</a> from the original on 2017-07-03<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-08-26</span></span>.</cite></span>
</li>
<li id="cite_note-Android_mksh-48"><span class="mw-cite-backlink"><b><a href="#cite_ref-Android_mksh_48-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://android.googlesource.com/platform/external/mksh/+/master">"master - platform/external/mksh - Git at Google"</a>. <i>android.googlesource.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160121112754/https://android.googlesource.com/platform/external/mksh/%2B/master">Archived</a> from the original on 2016-01-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-03-18</span></span>.</cite></span>
</li>
<li id="cite_note-Android_adb-49"><span class="mw-cite-backlink"><b><a href="#cite_ref-Android_adb_49-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://stackoverflow.com/questions/11950131/android-adb-shell-ash-or-ksh">"Android adb shell - ash or ksh?"</a>. <i>stackoverflow.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170702022904/https://stackoverflow.com/questions/11950131/android-adb-shell-ash-or-ksh">Archived</a> from the original on 2017-07-02<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-03-14</span></span>.</cite></span>
</li>
<li id="cite_note-Android_sh-50"><span class="mw-cite-backlink"><b><a href="#cite_ref-Android_sh_50-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://archive.today/20121217165813/https://github.com/android/platform_system_core/tree/master/sh">"Android sh source"</a>. <i><a href="GitHub" title="GitHub">GitHub</a></i>. Archived from <a rel="nofollow" class="external text" href="https://github.com/android/platform_system_core/tree/master/sh">the original</a> on 2012-12-17.</cite></span>
</li>
<li id="cite_note-Android_Toolbox-51"><span class="mw-cite-backlink"><b><a href="#cite_ref-Android_Toolbox_51-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://github.com/android/platform_system_core/tree/master/toolbox">"Android toolbox source"</a>. <i><a href="GitHub" title="GitHub">GitHub</a></i>.</cite></span>
</li>
<li id="cite_note-52"><span class="mw-cite-backlink"><b><a href="#cite_ref-52">^</a></b></span> <span class="reference-text"><cite class="citation cs2"><a rel="nofollow" class="external text" href="https://github.com/openharmony/third_party_toybox"><i>openharmony/third_party_toybox</i></a>, OpenHarmony, 2021-10-14<span class="reference-accessdate">, retrieved <span class="nowrap">2024-07-07</span></span></cite></span>
</li>
<li id="cite_note-53"><span class="mw-cite-backlink"><b><a href="#cite_ref-53">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.bookstack.cn/read/openharmony-1.0-zh-cn/kernel-Shell%E4%BB%8B%E7%BB%8D.md">"调测 - Shell介绍 - 《华为鸿蒙操作系统(OpenHarmony) v1.0 开发者文档》 - 书栈网 · BookStack"</a>. <i>www.bookstack.cn</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2024-07-07</span></span>.</cite></span>
</li>
<li id="cite_note-Cisco_IOS-54"><span class="mw-cite-backlink"><b><a href="#cite_ref-Cisco_IOS_54-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf001.html">"Configuration Fundamentals Configuration Guide, Cisco IOS Release 15M&amp;T"</a>. <a href="Cisco" title="Cisco">Cisco</a>. 2013-10-30. Using the Command-Line Interface. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20161118234827/http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf001.html">Archived</a> from the original on 2016-11-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-11-28</span></span>. <q>The Cisco IOS command-line interface (CLI) is the primary user interface…</q></cite></span>
</li>
<li id="cite_note-Juniper-55"><span class="mw-cite-backlink"><b><a href="#cite_ref-Juniper_55-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.juniper.net/techpubs/software/junos/junos55/swconfig55-getting-started/html/cli-overview-getting-started.html">"Command-Line Interface Overview"</a>. <i>www.juniper.net</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20030908113531/http://www.juniper.net/techpubs/software/junos/junos55/swconfig55-getting-started/html/cli-overview-getting-started.html">Archived</a> from the original on 2003-09-08<span class="reference-accessdate">. Retrieved <span class="nowrap">2018-03-14</span></span>.</cite></span>
</li>
<li id="cite_note-Google-56"><span class="mw-cite-backlink"><b><a href="#cite_ref-Google_56-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.knaster.com/2004/04/google_strange_.html">"Google strange goodness"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20140304185253/http://www.knaster.com/2004/04/google_strange_.html">Archived</a> from the original on 2014-03-04<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-02-27</span></span>.</cite></span>
</li>
<li id="cite_note-57"><span class="mw-cite-backlink"><b><a href="#cite_ref-57">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://terminal.jcubic.pl/">"jQuery Terminal Emulator"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210420221405/https://terminal.jcubic.pl/">Archived</a> from the original on 2021-04-20<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-04-20</span></span>.</cite></span>
</li>
<li id="cite_note-58"><span class="mw-cite-backlink"><b><a href="#cite_ref-58">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://duckduckgo.com/tty/">"DuckDuckGo TTY"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210507211818/https://duckduckgo.com/tty/">Archived</a> from the original on 2021-05-07<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-04-20</span></span>.</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><a rel="nofollow" class="external text" href="http://www.patersontech.com/Dos/Softalk/Softalk.html">The Roots of DOS</a> David Hunter, <i>Softalk for the IBM Personal Computer</i> March 1983. Archived at Patersontech.com since <a rel="nofollow" class="external text" href="https://web.archive.org/web/20001003150623/http://www.patersontech.com/Dos/Softalk/Softalk.html">2000</a>.</li>
<li><a rel="nofollow" class="external text" href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands">Windows Commands</a>: Microsoft TechNet Database "Command-Line Reference"</li></ul>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1129693374">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:": "}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:" ("counter(listitem)"\a0 "}


/* end https://en.wikipedia.org/ */
</style><style data-mw-deduplicate="TemplateStyles:r1236075235">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox" aria-labelledby="Operating_systems310" style="padding:3px"><table class="nowraplinks mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r1239400231">
/* start https://en.wikipedia.org/ */


.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div id="Operating_systems310" style="font-size:114%;margin:0 4em"><a href="Operating_system" title="Operating system">Operating systems</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">General</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Comparison_of_operating_systems" title="Comparison of operating systems">Comparison</a></li>
<li><a href="Forensic_software_engineering" title="Forensic software engineering">Forensic engineering</a></li>
<li><a href="History_of_operating_systems" title="History of operating systems">History</a></li>
<li><a href="List_of_operating_systems" title="List of operating systems">List</a></li>
<li><a href="Timeline_of_operating_systems" title="Timeline of operating systems">Timeline</a></li>
<li><a href="Usage_share_of_operating_systems" title="Usage share of operating systems">Usage share</a></li>
<li><a href="Comparison_of_user_features_of_operating_systems" title="Comparison of user features of operating systems">User features comparison</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Variants</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Disk_operating_system" title="Disk operating system">Disk operating system</a></li>
<li><a href="Distributed_operating_system" title="Distributed operating system">Distributed operating system</a></li>
<li><a href="Embedded_operating_system" title="Embedded operating system">Embedded operating system</a></li>
<li><a href="Hobbyist_operating_system" title="Hobbyist operating system">Hobbyist operating system</a></li>
<li><a href="Just_enough_operating_system" title="Just enough operating system">Just enough operating system</a></li>
<li><a href="Mobile_operating_system" title="Mobile operating system">Mobile operating system</a></li>
<li><a href="Network_operating_system" title="Network operating system">Network operating system</a></li>
<li><a href="Object-oriented_operating_system" title="Object-oriented operating system">Object-oriented operating system</a></li>
<li><a href="Real-time_operating_system" title="Real-time operating system">Real-time operating system</a></li>
<li><a href="Supercomputer_operating_system" title="Supercomputer operating system">Supercomputer operating system</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Kernel_(operating_system)" title="Kernel (operating system)">Kernel</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:6em"><a href="Computer_architecture" title="Computer architecture">Architectures</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Exokernel" title="Exokernel">Exokernel</a></li>
<li><a href="Hybrid_kernel" title="Hybrid kernel">Hybrid</a></li>
<li><a href="Microkernel" title="Microkernel">Microkernel</a></li>
<li><a href="Monolithic_kernel" title="Monolithic kernel">Monolithic</a></li>
<li><a href="Multikernel" title="Multikernel">Multikernel</a></li>
<li><a href="Vkernel" title="Vkernel">vkernel</a></li>
<li><a href="Rump_kernel" title="Rump kernel">Rump kernel</a></li>
<li><a href="Unikernel" title="Unikernel">Unikernel</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:6em">Components</th><td class="navbox-list-with-group navbox-list navbox-even" style="padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Device_driver" title="Device driver">Device driver</a></li>
<li><a href="Loadable_kernel_module" title="Loadable kernel module">Loadable kernel module</a></li>
<li><a href="User_space_and_kernel_space" title="User space and kernel space">User space and kernel space</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Process_management_(computing)" title="Process management (computing)">Process management</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:6em">Concepts</th><td class="navbox-list-with-group navbox-list navbox-odd" style="padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Computer_multitasking" title="Computer multitasking">Computer multitasking</a> (<a href="Cooperative_multitasking" title="Cooperative multitasking">Cooperative</a>, <a href="Preemption_(computing)" title="Preemption (computing)">Preemptive</a>)</li>
<li><a href="Context_switch" title="Context switch">Context switch</a></li>
<li><a href="Interrupt" title="Interrupt">Interrupt</a></li>
<li><a href="Inter-process_communication" title="Inter-process communication">IPC</a></li>
<li><a href="Process_(computing)" title="Process (computing)">Process</a></li>
<li><a href="Process_control_block" title="Process control block">Process control block</a></li>
<li><a href="Real-time_operating_system" title="Real-time operating system">Real-time</a></li>
<li><a href="Thread_(computing)" title="Thread (computing)">Thread</a></li>
<li><a href="Time-sharing" title="Time-sharing">Time-sharing</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:6em"><a href="Scheduling_(computing)" title="Scheduling (computing)">Scheduling<br>algorithms</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Fixed-priority_pre-emptive_scheduling" title="Fixed-priority pre-emptive scheduling">Fixed-priority preemptive</a></li>
<li><a href="Multilevel_feedback_queue" title="Multilevel feedback queue">Multilevel feedback queue</a></li>
<li><a href="Round-robin_scheduling" title="Round-robin scheduling">Round-robin</a></li>
<li><a href="Shortest_job_next" title="Shortest job next">Shortest job next</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Memory_management_(operating_systems)" title="Memory management (operating systems)">Memory management</a>,<br><a href="System_resource" title="System resource">resource</a> protection</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Bus_error" title="Bus error">Bus error</a></li>
<li><a href="General_protection_fault" title="General protection fault">General protection fault</a></li>
<li><a href="Memory_paging" title="Memory paging">Memory paging</a></li>
<li><a href="Memory_protection" title="Memory protection">Memory protection</a></li>
<li><a href="Protection_ring" title="Protection ring">Protection ring</a></li>
<li><a href="Segmentation_fault" title="Segmentation fault">Segmentation fault</a></li>
<li><a href="Virtual_memory" title="Virtual memory">Virtual memory</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Non-volatile_memory" title="Non-volatile memory">Storage</a> access,<br><a href="File_system" title="File system">file systems</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Booting#BOOT-LOADER" title="Booting">Boot loader</a></li>
<li><a href="Defragmentation" title="Defragmentation">Defragmentation</a></li>
<li><a href="Device_file" title="Device file">Device file</a></li>
<li><a href="File_attribute" title="File attribute">File attribute</a></li>
<li><a href="Inode" title="Inode">Inode</a></li>
<li><a href="Journaling_file_system" title="Journaling file system">Journal</a></li>
<li><a href="Disk_partitioning" title="Disk partitioning">Partition</a></li>
<li><a href="Virtual_file_system" title="Virtual file system">Virtual file system</a></li>
<li><a href="Virtual_tape_library" title="Virtual tape library">Virtual tape library</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Supporting concepts</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="API" title="API">API</a></li>
<li><a href="Computer_network" title="Computer network">Computer network</a></li>
<li><a href="Hardware_abstraction" title="Hardware abstraction">HAL</a></li>
<li><a href="Live_CD" title="Live CD">Live CD</a></li>
<li><a href="Live_USB" title="Live USB">Live USB</a></li>
<li><a href="Shell_(computing)" title="Shell (computing)">Shell</a>
<ul>
<li><a href="User_interface" title="User interface">User interface</a></li></ul></li>
<li><a href="Preboot_Execution_Environment" title="Preboot Execution Environment">PXE</a></li></ul>
</div></td></tr></tbody></table></div>
<div class="navbox-styles"></div><div role="navigation" class="navbox" aria-labelledby="Unix_command-line_interface_programs_and_shell_builtins541" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Unix_command-line_interface_programs_and_shell_builtins541" style="font-size:114%;margin:0 4em"><a href="Unix" title="Unix">Unix</a> programs and <a href="Shell_builtin" title="Shell builtin">shell builtins</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">File system</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cat_(Unix)" title="Cat (Unix)">cat</a></li>
<li><a href="Chattr" title="Chattr">chattr</a></li>
<li><a href="Chmod" title="Chmod">chmod</a></li>
<li><a href="Chown" title="Chown">chown</a></li>
<li><a href="Chgrp" title="Chgrp">chgrp</a></li>
<li><a href="Cksum" title="Cksum">cksum</a></li>
<li><a href="Cmp_(Unix)" title="Cmp (Unix)">cmp</a></li>
<li><a href="Cp_(Unix)" title="Cp (Unix)">cp</a></li>
<li><a href="Dd_(Unix)" title="Dd (Unix)">dd</a></li>
<li><a href="Du_(Unix)" title="Du (Unix)">du</a></li>
<li><a href="Df_(Unix)" title="Df (Unix)">df</a></li>
<li><a href="File_(command)" title="File (command)">file</a></li>
<li><a href="Fuser_(Unix)" title="Fuser (Unix)">fuser</a></li>
<li><a href="Ln_(Unix)" title="Ln (Unix)">ln</a></li>
<li><a href="Ls" title="Ls">ls</a></li>
<li><a href="Mkdir" title="Mkdir">mkdir</a></li>
<li><a href="Mv_(Unix)" title="Mv (Unix)">mv</a></li>
<li><a href="Pax_(command)" title="Pax (command)">pax</a></li>
<li><a href="Pwd" title="Pwd">pwd</a></li>
<li><a href="Rm_(Unix)" title="Rm (Unix)">rm</a></li>
<li><a href="Rmdir" title="Rmdir">rmdir</a></li>
<li><a href="Split_(Unix)" title="Split (Unix)">split</a></li>
<li><a href="Tee_(command)" title="Tee (command)">tee</a></li>
<li><a href="Touch_(command)" title="Touch (command)">touch</a></li>
<li><a href="Type_(Unix)" title="Type (Unix)">type</a></li>
<li><a href="Umask" title="Umask">umask</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Processes</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="At_(command)" title="At (command)">at</a></li>
<li><a href="Job_control_(Unix)#Commands" title="Job control (Unix)">bg</a></li>
<li><a href="Cron" title="Cron">crontab</a></li>
<li><a href="Job_control_(Unix)#Commands" title="Job control (Unix)">fg</a></li>
<li><a href="Kill_(command)" title="Kill (command)">kill</a></li>
<li><a href="Nice_(Unix)" title="Nice (Unix)">nice</a></li>
<li><a href="Ps_(Unix)" title="Ps (Unix)">ps</a></li>
<li><a href="Time_(Unix)" title="Time (Unix)">time</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">User environment</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Env" title="Env">env</a></li>
<li><a href="Exit_(command)" title="Exit (command)">exit</a></li>
<li><a href="Logname" title="Logname">logname</a></li>
<li><a href="Mesg" title="Mesg">mesg</a></li>
<li><a href="Talk_(software)" title="Talk (software)">talk</a></li>
<li><a href="Tput" title="Tput">tput</a></li>
<li><a href="Uname" title="Uname">uname</a></li>
<li><a href="Who_(Unix)" title="Who (Unix)">who</a></li>
<li><a href="Write_(Unix)" title="Write (Unix)">write</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Text processing</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="AWK" title="AWK">awk</a></li>
<li><a href="Basename" title="Basename">basename</a></li>
<li><a href="Comm" title="Comm">comm</a></li>
<li><a href="Csplit" title="Csplit">csplit</a></li>
<li><a href="Cut_(Unix)" title="Cut (Unix)">cut</a></li>
<li><a href="Diff" title="Diff">diff</a></li>
<li><a href="Dirname" title="Dirname">dirname</a></li>
<li><a href="Ed_(text_editor)" class="mw-redirect" title="Ed (text editor)">ed</a></li>
<li><a href="Ex_(text_editor)" title="Ex (text editor)">ex</a></li>
<li><a href="Fold_(Unix)" title="Fold (Unix)">fold</a></li>
<li><a href="Head_(Unix)" title="Head (Unix)">head</a></li>
<li><a href="Iconv" title="Iconv">iconv</a></li>
<li><a href="Join_(Unix)" title="Join (Unix)">join</a></li>
<li><a href="M4_(computer_language)" title="M4 (computer language)">m4</a></li>
<li><a href="More_(command)" title="More (command)">more</a></li>
<li><a href="Nl_(Unix)" title="Nl (Unix)">nl</a></li>
<li><a href="Paste_(Unix)" title="Paste (Unix)">paste</a></li>
<li><a href="Patch_(Unix)" title="Patch (Unix)">patch</a></li>
<li><a href="Printf_(Unix)" title="Printf (Unix)">printf</a></li>
<li><a href="Read_(Unix)" title="Read (Unix)">read</a></li>
<li><a href="Sed" title="Sed">sed</a></li>
<li><a href="Sort_(Unix)" title="Sort (Unix)">sort</a></li>
<li><a href="Strings_(Unix)" title="Strings (Unix)">strings</a></li>
<li><a href="Tail_(Unix)" title="Tail (Unix)">tail</a></li>
<li><a href="Tr_(Unix)" title="Tr (Unix)">tr</a></li>
<li><a href="Troff" title="Troff">troff</a></li>
<li><a href="Uniq" title="Uniq">uniq</a></li>
<li><a href="Vi_(text_editor)" title="Vi (text editor)">vi</a></li>
<li><a href="Wc_(Unix)" title="Wc (Unix)">wc</a></li>
<li><a href="Xargs" title="Xargs">xargs</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Shell_builtin" title="Shell builtin">Shell builtins</a></th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Alias_(command)" title="Alias (command)">alias</a></li>
<li><a href="Cd_(command)" title="Cd (command)">cd</a></li>
<li><a href="Echo_(command)" title="Echo (command)">echo</a></li>
<li><a href="Test_(Unix)" title="Test (Unix)">test</a></li>
<li><a href="Environment_variable#unset_command" title="Environment variable">unset</a></li>
<li><a href="Wait_(command)" title="Wait (command)">wait</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Searching</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Find_(Unix)" title="Find (Unix)">find</a></li>
<li><a href="Grep" title="Grep">grep</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Documentation</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Man_page" title="Man page">man</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Software_development" title="Software development">Software development</a></th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Ar_(Unix)" title="Ar (Unix)">ar</a></li>
<li><a href="Ctags" title="Ctags">ctags</a></li>
<li><a href="Lex_(software)" title="Lex (software)">lex</a></li>
<li><a href="Make_(software)" title="Make (software)">make</a></li>
<li><a href="Nm_(Unix)" title="Nm (Unix)">nm</a></li>
<li><a href="Strip_(Unix)" title="Strip (Unix)">strip</a></li>
<li><a href="Yacc" title="Yacc">yacc</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Miscellaneous</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Bc_(programming_language)" title="Bc (programming language)">bc</a></li>
<li><a href="Cal_(command)" title="Cal (command)">cal</a></li>
<li><a href="Expr" title="Expr">expr</a></li>
<li><a href="System_V_printing_system" title="System V printing system">lp</a></li>
<li><a href="Od_(Unix)" title="Od (Unix)">od</a></li>
<li><a href="Sleep_(command)" title="Sleep (command)">sleep</a></li>
<li><a href="True_and_false_(commands)" title="True and false (commands)">true and false</a></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow hlist" colspan="2"><div>
<ul><li><span class="noviewer" typeof="mw:File"><span title="Category"></span></span> <b>Categories</b>
<ul><li>Standard Unix programs</li>
<li>Unix SUS2008 utilities</li></ul></li>
<li><span class="noviewer" typeof="mw:File"><span title="List-Class article"></span></span> <b><a href="List_of_POSIX_commands" title="List of POSIX commands">List</a></b></li></ul>
</div></td></tr></tbody></table></div>
<div class="navbox-styles"></div><div role="navigation" class="navbox" aria-labelledby="Windows_command-line_programs_and_shell_builtins413" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div id="Windows_command-line_programs_and_shell_builtins413" style="font-size:114%;margin:0 4em"><a href="Microsoft_Windows" title="Microsoft Windows">Windows</a> programs and <a href="Shell_builtin" title="Shell builtin">shell builtins</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Ecosystem</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Command-line_interpreter" class="mw-redirect" title="Command-line interpreter">Interpreters</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="COMMAND.COM" title="COMMAND.COM">COMMAND.COM</a></li>
<li><a href="Cmd.exe" title="Cmd.exe">Command Prompt</a></li>
<li><a href="PowerShell" title="PowerShell">PowerShell</a></li>
<li><a href="Recovery_Console" title="Recovery Console">Recovery Console</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Terminal_emulator" title="Terminal emulator">Terminals</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Windows_Console" title="Windows Console">Windows Console</a></li>
<li><a href="Windows_Terminal" title="Windows Terminal">Windows Terminal</a></li></ul>
</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File system navigation</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cd_(command)" title="Cd (command)">cd</a> (chdir)</li>
<li><a href="Dir_(command)" title="Dir (command)">dir</a></li>
<li><a href="Pushd_and_popd" title="Pushd and popd">popd</a></li>
<li><a href="Pushd_and_popd" title="Pushd and popd">pushd</a></li>
<li><a href="Tree_(command)" title="Tree (command)">tree</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="ATTRIB" title="ATTRIB">attrib</a></li>
<li><a href="Cacls" title="Cacls">cacls</a></li>
<li><a href="Encrypting_File_System" title="Encrypting File System">cipher</a></li>
<li><a href="Compact_(computing)" class="mw-redirect" title="Compact (computing)">compact</a></li>
<li><a href="Copy_(command)" title="Copy (command)">copy</a></li>
<li><a href="Del_(command)" title="Del (command)">del</a> (erase)</li>
<li><a href="Deltree" class="mw-redirect" title="Deltree">deltree</a></li>
<li><a href="Cacls#icacls" title="Cacls">icacls</a></li>
<li><a href="Mkdir" title="Mkdir">mkdir</a> (md)</li>
<li><a href="Mklink" class="mw-redirect" title="Mklink">mklink</a></li>
<li><a href="Move_(command)" title="Move (command)">move</a></li>
<li><a href="Openfiles" class="mw-redirect" title="Openfiles">openfiles</a></li>
<li><a href="Recover_(command)" title="Recover (command)">recover</a></li>
<li><a href="Ren_(command)" title="Ren (command)">ren</a> (rename)</li>
<li><a href="Replace_(command)" title="Replace (command)">replace</a></li>
<li><a href="Rmdir" title="Rmdir">rmdir</a> (rd)</li>
<li><a href="Robocopy" title="Robocopy">robocopy</a></li>
<li><a href="Takeown" class="mw-redirect" title="Takeown">takeown</a></li>
<li><a href="XCOPY" title="XCOPY">xcopy</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Archiving</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cabinet_(file_format)" title="Cabinet (file format)">expand</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">extrac32</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">extract</a></li>
<li><a href="Cabinet_(file_format)" title="Cabinet (file format)">makecab</a></li>
<li><a href="Pax_(command)" title="Pax (command)">pax</a></li>
<li><a href="Tar_(computing)" title="Tar (computing)">tar</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Disk management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="CHKDSK" title="CHKDSK">chkdsk</a></li>
<li><a href="Convert_(command)" title="Convert (command)">convert</a></li>
<li><a href="Disk_Defragmenter_(Windows)" class="mw-redirect" title="Disk Defragmenter (Windows)">defrag</a></li>
<li><a href="Diskcomp" title="Diskcomp">diskcomp</a></li>
<li><a href="Diskcopy" title="Diskcopy">diskcopy</a></li>
<li><a href="Diskpart" title="Diskpart">diskpart</a></li>
<li><a href="Diskraid" class="mw-redirect" title="Diskraid">diskraid</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">diskshadow</a></li>
<li><a href="Drvspace" class="mw-redirect" title="Drvspace">drvspace</a></li>
<li><a href="Fdisk" title="Fdisk">fdisk</a></li>
<li><a href="Format_(command)" title="Format (command)">format</a></li>
<li><a href="Fsutil" class="mw-redirect" title="Fsutil">fsutil</a></li>
<li><a href="Label_(command)" title="Label (command)">label</a></li>
<li><a href="BitLocker" title="BitLocker">manage-bde</a></li>
<li><a href="MSCDEX" title="MSCDEX">MSCDEX</a></li>
<li><a href="Refsutil" class="mw-redirect" title="Refsutil">refsutil</a></li>
<li><a href="SUBST" title="SUBST">subst</a></li>
<li><a href="Microsoft_ScanDisk" title="Microsoft ScanDisk">scandisk</a></li>
<li><a href="SYS_(command)" title="SYS (command)">sys</a></li>
<li><a href="Vol_(command)" title="Vol (command)">vol</a></li>
<li><a href="Shadow_Copy" title="Shadow Copy">vssadmin</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Processes</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="At_(command)" title="At (command)">at</a></li>
<li><a href="Exit_(command)" title="Exit (command)">exit</a></li>
<li><a href="Kill_(command)" title="Kill (command)">kill</a></li>
<li><a href="Runas" title="Runas">runas</a></li>
<li><a href="Windows_service" title="Windows service">sc</a></li>
<li><a href="Windows_Task_Scheduler" title="Windows Task Scheduler">schtasks</a></li>
<li><a href="Shutdown_(computing)" title="Shutdown (computing)">shutdown</a></li>
<li><a href="Start_(command)" title="Start (command)">start</a></li>
<li><a href="Taskkill" class="mw-redirect" title="Taskkill">taskkill</a></li>
<li><a href="Tasklist" title="Tasklist">tasklist</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Registry</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="File_association" title="File association">assoc</a></li>
<li><a href="Ftype" title="Ftype">ftype</a></li>
<li><a href="Windows_Registry#Command_line_editing" title="Windows Registry">reg</a></li>
<li><a href="Windows_Registry#Command_line_editing" title="Windows Registry">regini</a></li>
<li><a href="Regsvr32" title="Regsvr32">regsvr32</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">User environment</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="CHCP_(command)" class="mw-redirect" title="CHCP (command)">chcp</a></li>
<li><a href="Cmdkey" class="mw-redirect" title="Cmdkey">cmdkey</a></li>
<li><a href="DATE_(command)" class="mw-redirect" title="DATE (command)">date</a></li>
<li><a href="Graftabl" class="mw-redirect" title="Graftabl">graftabl</a></li>
<li><a href="Mode_(command)" class="mw-redirect" title="Mode (command)">mode</a></li>
<li><a href="PATH_(variable)" title="PATH (variable)">path</a></li>
<li><a href="Environment_variable#DOS,_OS/2_and_Windows_(Command_Prompt)" title="Environment variable">set</a></li>
<li><a href="Setver" class="mw-redirect" title="Setver">setver</a></li>
<li><a href="Environment_variable#DOS,_OS/2_and_Windows_(Command_Prompt)" title="Environment variable">setx</a></li>
<li><a href="TIME_(command)" title="TIME (command)">time</a></li>
<li><a href="Title_(command)" title="Title (command)">title</a></li>
<li><a href="Ver_(command)" title="Ver (command)">ver</a></li>
<li><a href="Where_(command)" class="mw-redirect" title="Where (command)">where</a></li>
<li><a href="Whoami" title="Whoami">whoami</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">File contents</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Comp_(command)" title="Comp (command)">comp</a></li>
<li><a href="MS-DOS_Editor" title="MS-DOS Editor">edit</a></li>
<li><a href="Edlin" title="Edlin">edlin</a></li>
<li><a href="File_Compare" title="File Compare">fc</a></li>
<li><a href="Find_(Windows)" title="Find (Windows)">find</a></li>
<li><a href="Findstr" title="Findstr">findstr</a></li>
<li><a href="PRINT_(command)" title="PRINT (command)">print</a></li>
<li><a href="TYPE_(DOS_command)" title="TYPE (DOS command)">type</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Scripting_language" title="Scripting language">Scripting</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Choice_(command)" title="Choice (command)">choice</a></li>
<li><a href="Clipboard_(computing)" title="Clipboard (computing)">clip</a></li>
<li><a href="Windows_Script_Host" title="Windows Script Host">cscript</a></li>
<li><a href="DOSKEY" title="DOSKEY">doskey</a></li>
<li><a href="Echo_(command)" title="Echo (command)">echo</a></li>
<li><a href="For_loop" title="For loop">for</a></li>
<li><a href="Forfiles" title="Forfiles">forfiles</a></li>
<li><a href="Goto" title="Goto">goto</a></li>
<li><a href="Conditional_(computer_programming)" title="Conditional (computer programming)">if</a></li>
<li><a href="More_(command)" title="More (command)">more</a></li>
<li><a href="Pause_(command)" class="mw-redirect" title="Pause (command)">pause</a></li>
<li><a class="mw-selflink-fragment" href="#Command_prompt">prompt</a></li>
<li><a href="Comment_(computer_programming)" title="Comment (computer programming)">rem</a></li>
<li><a href="Timeout_(computing)" title="Timeout (computing)">timeout</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Networking</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Address_Resolution_Protocol" title="Address Resolution Protocol">arp</a></li>
<li><a href="Background_Intelligent_Transfer_Service" title="Background Intelligent Transfer Service">bitsadmin</a></li>
<li><a href="CURL" title="CURL">curl</a></li>
<li><a href="MAC_address" title="MAC address">getmac</a></li>
<li><a href="Hostname" title="Hostname">hostname</a></li>
<li><a href="Ipconfig" title="Ipconfig">ipconfig</a></li>
<li><a href="Nbtstat" class="mw-redirect" title="Nbtstat">nbtstat</a></li>
<li><a href="Net_(command)" title="Net (command)">net</a></li>
<li><a href="Netsh" title="Netsh">netsh</a></li>
<li><a href="Netstat" title="Netstat">netstat</a></li>
<li><a href="Nslookup" title="Nslookup">nslookup</a></li>
<li><a href="PathPing" title="PathPing">PathPing</a></li>
<li><a href="Ping_(networking_utility)" title="Ping (networking utility)">ping</a></li>
<li><a href="Rpcping" class="mw-redirect" title="Rpcping">rpcping</a></li>
<li><a href="Route_(command)" title="Route (command)">route</a></li>
<li><a href="Secure_copy_protocol" title="Secure copy protocol">scp</a></li>
<li><a href="Setspn" class="mw-redirect" title="Setspn">setspn</a></li>
<li><a href="Secure_file_transfer_program" title="Secure file transfer program">sftp</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh-add</a></li>
<li><a href="Ssh-agent" title="Ssh-agent">ssh-agent</a></li>
<li><a href="Ssh-keygen" title="Ssh-keygen">ssh-keygen</a></li>
<li><a href="OpenSSH" title="OpenSSH">ssh-keyscan</a></li>
<li><a href="Traceroute" title="Traceroute">tracert</a></li>
<li><a href="Windows_Remote_Management" title="Windows Remote Management">winrm</a></li>
<li><a href="Windows_Remote_Management" title="Windows Remote Management">winrs</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Maintenance and care</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Auditpol" class="mw-redirect" title="Auditpol">auditpol</a></li>
<li><a href="Windows_Assessment_and_Deployment_Kit" title="Windows Assessment and Deployment Kit">dism</a></li>
<li><a href="Dispdiag" class="mw-redirect" title="Dispdiag">dispdiag</a></li>
<li><a href="Device_Manager#Driverquery_command" title="Device Manager">driverquery</a></li>
<li><a href="Event_Viewer" title="Event Viewer">eventcreate</a></li>
<li><a href="Event_Viewer" title="Event Viewer">eventtriggers</a></li>
<li><a href="Group_Policy" title="Group Policy">gpresult</a></li>
<li><a href="Group_Policy" title="Group Policy">gpupdate</a></li>
<li><a href="Logman" class="mw-redirect" title="Logman">logman</a></li>
<li><a href="Mofcomp" class="mw-redirect" title="Mofcomp">mofcomp</a></li>
<li><a href="Windows_Installer" title="Windows Installer">msiexec</a></li>
<li><a href="NTBackup" title="NTBackup">ntbackup</a></li>
<li><a href="Pentium_FDIV_bug#Software_patches" title="Pentium FDIV bug">pentnt</a></li>
<li><a href="Pnpunattend" class="mw-redirect" title="Pnpunattend">pnpunattend</a></li>
<li><a href="Pnputil" class="mw-redirect" title="Pnputil">pnputil</a></li>
<li><a href="REAgentC" class="mw-redirect" title="REAgentC">REAgentC</a></li>
<li><a href="Relog" class="mw-redirect" title="Relog">relog</a></li>
<li><a href="System_File_Checker" title="System File Checker">sfc</a></li>
<li><a href="Sxstrace" class="mw-redirect" title="Sxstrace">sxstrace</a></li>
<li><a href="Systeminfo" class="mw-redirect" title="Systeminfo">systeminfo</a></li>
<li><a href="Tpmtool" class="mw-redirect" title="Tpmtool">tpmtool</a></li>
<li><a href="Tpmvscmgr" class="mw-redirect" title="Tpmvscmgr">tpmvscmgr</a></li>
<li><a href="Tracerpt" class="mw-redirect" title="Tracerpt">tracerpt</a></li>
<li><a href="Typeperf" class="mw-redirect" title="Typeperf">typeperf</a></li>
<li><a href="W32tm" title="W32tm">w32tm</a></li>
<li><a href="WBAdmin" title="WBAdmin">WBAdmin</a></li>
<li><a href="Wecutil" class="mw-redirect" title="Wecutil">wecutil</a></li>
<li><a href="Wevtutil" class="mw-redirect" title="Wevtutil">wevtutil</a></li>
<li><a href="Winmgmt" class="mw-redirect" title="Winmgmt">winmgmt</a></li>
<li><a href="Windows_System_Assessment_Tool" title="Windows System Assessment Tool">winsat</a></li>
<li><a href="Windows_Management_Instrumentation_Command-line" class="mw-redirect" title="Windows Management Instrumentation Command-line">wmic</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Boot management</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Bcdedit" class="mw-redirect" title="Bcdedit">bcdedit</a></li>
<li><a href="Bootcfg" title="Bootcfg">bootcfg</a></li>
<li><a href="Bootsect" class="mw-redirect" title="Bootsect">bootsect</a></li>
<li><a href="Fixboot" class="mw-redirect" title="Fixboot">fixboot</a></li>
<li><a href="Fixmbr" class="mw-redirect" title="Fixmbr">fixmbr</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="Software_development" title="Software development">Software development</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Break_(command)" class="mw-redirect" title="Break (command)">break</a></li>
<li><a href="Debug_(command)" title="Debug (command)">debug</a></li>
<li><a href="Exe2bin" title="Exe2bin">exe2bin</a></li>
<li><a href="QBasic" title="QBasic">QBasic</a></li>
<li><a href="Windows_Subsystem_for_Linux" title="Windows Subsystem for Linux">wsl</a></li></ul>
</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Miscellaneous</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em">
<ul><li><a href="Cls_(command)" class="mw-redirect" title="Cls (command)">cls</a></li>
<li><a href="Dpath" title="Dpath">dpath</a></li>
<li><a href="Help_(command)" title="Help (command)">help</a></li></ul>
</div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>
<ul><li><a href="List_of_DOS_commands" title="List of DOS commands">List of DOS commands</a></li>
<li><a href="Environment_variable" title="Environment variable">Environment variables</a></li>
<li><a href="Windows_Support_Tools" title="Windows Support Tools">Windows Support Tools</a></li></ul>
</div></td></tr></tbody></table></div>
<div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r1038841319">
/* start https://en.wikipedia.org/ */


.mw-parser-output .tooltip-dotted{border-bottom:1px dotted;cursor:help}


/* end https://en.wikipedia.org/ */
</style></div><div role="navigation" class="navbox authority-control" aria-label="Navbox599" style="padding:3px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">Authority control databases: National </th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"><ul><li><span class="uid"><span class="rt-commentedText tooltip tooltip-dotted" title="příkazové řádky"><a rel="nofollow" class="external text" href="https://aleph.nkp.cz/F/?func=find-c&amp;local_base=aut&amp;ccl_term=ica=ph433464&amp;CON_LNG=ENG">Czech Republic</a></span></span></li></ul></div></td></tr></tbody></table></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-08-01" href="https://en.wikipedia.org/wiki/?title=Command-line_interface&amp;oldid=1303698420">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>